Skip to content

Commit

Permalink
use c/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Apr 10, 2019
1 parent 8f9ca95 commit c3bdd9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/liggitt/d

go 1.12

require github.com/liggitt/c v1.1.0
require github.com/liggitt/c/v2 v2.0.0
4 changes: 2 additions & 2 deletions ingredients.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package d
import (
"strings"

"github.com/liggitt/c"
c "github.com/liggitt/c/v2"
)

func Ingredients() []string {
return []string{"eggs", "flour", "sugar", "butter"}
}

func CakeAvailable() bool {
return !strings.Contains(c.CakeOrDeath(), "death")
return !strings.Contains(c.CakeOrDeath("cake"), "death")
}

0 comments on commit c3bdd9d

Please sign in to comment.