diff options
| author | Jeff Carr <[email protected]> | 2024-11-27 21:05:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-27 21:05:12 -0600 |
| commit | 0fc7c2d753bc6cfdc4d64425da1a23c3735b8409 (patch) | |
| tree | a4b7e9f54c46a2c539892cd67cb512171cfd0054 /forgeConfig/main.go | |
| parent | 5d031310474e67e211449c434489ec537cabc51f (diff) | |
boo. big mistake on naming protobufs
It's important to really choose good names from the
start. do not think you can rename .proto files later
Good software engineering practices enforced here!
no bullshit. you really want to know what you are planning.
Diffstat (limited to 'forgeConfig/main.go')
| -rw-r--r-- | forgeConfig/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forgeConfig/main.go b/forgeConfig/main.go index 1efa31e..fe53fe8 100644 --- a/forgeConfig/main.go +++ b/forgeConfig/main.go @@ -11,7 +11,7 @@ import ( var VERSION string func main() { - var repos forgepb.Repos + var repos forgepb.ForgeConfigs if err := repos.ConfigLoad(); err != nil { log.Warn("forgepb.ConfigLoad() failed", err) os.Exit(-1) @@ -55,7 +55,7 @@ func main() { // try to add, then save config and exit if argv.Add { log.Info("going to add a new repo", argv.GoPath) - new1 := forgepb.Repo{ + new1 := forgepb.ForgeConfig{ GoPath: argv.GoPath, Writable: argv.Writable, ReadOnly: argv.ReadOnly, |
