From 0ff8e2bbb17f09dd906777aabe1e4a6a2e6ed9f5 Mon Sep 17 00:00:00 2001 From: Brad Reed Date: Sun, 18 Jun 2017 20:41:21 +0100 Subject: [PATCH] Use lower camel case in code --- bootstrap/bootstrap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.go b/bootstrap/bootstrap.go index 4729d18..3c20e09 100644 --- a/bootstrap/bootstrap.go +++ b/bootstrap/bootstrap.go @@ -111,7 +111,7 @@ func (g *Generator) writeMain() (path string, err error) { if g.SnakeCase { fmt.Fprintln(f, " g.UseSnakeCase()") } - if g.SnakeCase { + if g.LowerCamelCase { fmt.Fprintln(f, " g.UseLowerCamelCase()") } if g.OmitEmpty {