Skip to content

Commit

Permalink
Removed go directive from mod file
Browse files Browse the repository at this point in the history
  • Loading branch information
pointlander committed Jun 18, 2019
1 parent cb38f25 commit 35451b2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ func Generate(config *app.Config, file string, modFile string) {
}
defer mod.Close()
fmt.Fprintf(mod, "module main\n\n")
fmt.Fprintf(mod, "go 1.12\n\n")
if hasImports {
fmt.Fprintf(mod, "require (\n")
for _, port := range app.imports.Imports {
Expand Down

0 comments on commit 35451b2

Please sign in to comment.