Skip to content

Commit

Permalink
use gobuffalo/validate
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Feb 26, 2018
1 parent bee83ab commit ea3b361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion soda/cmd/generate/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func (m model) Fizz() string {
func newModel(name string) model {
m := model{
Package: "models",
Imports: []string{"time", "github.com/gobuffalo/pop", "github.com/markbates/validate"},
Imports: []string{"time", "github.com/gobuffalo/pop", "github.com/gobuffalo/validate"},
Name: inflect.Name(name),
Attributes: []attribute{
{Name: inflect.Name("created_at"), OriginalType: "time.Time", GoType: "time.Time"},
Expand Down
2 changes: 1 addition & 1 deletion soda/cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package cmd

const Version = "v4.0.0"
const Version = "v4.0.1"

0 comments on commit ea3b361

Please sign in to comment.