Skip to content

Commit

Permalink
Reintroduce direct usage of satori/go.uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakknutsen committed Jul 15, 2016
1 parent 4cbf7f0 commit d5155c8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ func (g *Generator) generateUserTypes(outdir string, api *design.APIDefinition)
codegen.SimpleImport("github.com/goadesign/goa"),
codegen.SimpleImport("github.com/jinzhu/gorm"),
codegen.SimpleImport("golang.org/x/net/context"),
codegen.SimpleImport("golang.org/x/net/context"),
codegen.SimpleImport("github.com/goadesign/goa/uuid"),
codegen.NewImport("uuid", "github.com/satori/go.uuid"),
}

if model.Cached {
Expand Down Expand Up @@ -168,8 +167,7 @@ func (g *Generator) generateUserHelpers(outdir string, api *design.APIDefinition
codegen.SimpleImport("github.com/goadesign/goa"),
codegen.SimpleImport("github.com/jinzhu/gorm"),
codegen.SimpleImport("golang.org/x/net/context"),
codegen.SimpleImport("golang.org/x/net/context"),
codegen.SimpleImport("github.com/goadesign/goa/uuid"),
codegen.NewImport("uuid", "github.com/satori/go.uuid"),
}

if model.Cached {
Expand Down

0 comments on commit d5155c8

Please sign in to comment.