Include newlines in messages printed by go-gen-dbscheme.

This commit is contained in:
Max Schaefer
2020-07-10 14:08:37 +01:00
parent 302eb55d23
commit 4257a68c27

View File

@@ -22,10 +22,10 @@ func main() {
f, err := os.Create(out)
if err != nil {
fmt.Fprintf(os.Stderr, "Unable to open file %s for writing.", out)
fmt.Fprintf(os.Stderr, "Unable to open file %s for writing.\n", out)
os.Exit(1)
}
dbscheme.PrintDbScheme(f)
f.Close()
fmt.Printf("Dbscheme written to file %s.", out)
fmt.Printf("Dbscheme written to file %s.\n", out)
}