diff options
| author | Jeff Carr <[email protected]> | 2024-12-11 13:50:38 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-11 13:50:38 -0600 |
| commit | 96a063a15a8f3f31bc98fe94ce1320e39232f26d (patch) | |
| tree | de06b46b2a38bca923213d0ef78139cce6b54bfd /marshal.go | |
| parent | 5846d5e4affbb2c2a220453a3de3c335b43cd2d6 (diff) | |
Diffstat (limited to 'marshal.go')
| -rw-r--r-- | marshal.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ func marshal(names map[string]string) { os.Exit(0) } - w, _ := os.OpenFile(names["protobase"]+".marshal.pb.go", os.O_WRONLY|os.O_CREATE, 0600) + w, _ := os.OpenFile(names["protobase"]+".marshal.pb.go", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644) fmt.Fprintln(w, "package "+names["package"]) headerComment(w) |
