Lowercase the generated filenames per Go style.

This commit is contained in:
jregan
2019-11-06 19:12:12 -08:00
parent 9a65634df6
commit 09faaa1b2c
15 changed files with 3 additions and 2 deletions

View File

@@ -126,8 +126,9 @@ func makeOutputFileName(root string) string {
"src",
pgmconfig.DomainName,
pgmconfig.ProgramName,
"api", packageForGeneratedCode,
root+".go")
"api",
packageForGeneratedCode,
strings.ToLower(root)+".go")
}
func (w *writer) close() {