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 /human.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 'human.go')
| -rw-r--r-- | human.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -18,7 +18,7 @@ func standardHeader() string { return fmt.Sprintf("%-4s %-40s %s", "", "Path", "flags") } -func (all *Repos) standardHeader(r *Repo) string { +func (all *ForgeConfigs) standardHeader(r *ForgeConfig) string { var flags string var readonly string if all.IsPrivate(r.GoPath) { @@ -36,7 +36,7 @@ func (all *Repos) standardHeader(r *Repo) string { } // print a human readable table to STDOUT -func (all *Repos) PrintTable() { +func (all *ForgeConfigs) PrintTable() { if all == nil { log.Info("WTF") os.Exit(0) @@ -44,7 +44,7 @@ func (all *Repos) PrintTable() { log.Info(standardHeader()) loop := all.SortByPath() for loop.Scan() { - r := loop.Repo() + r := loop.Next() log.Info(all.standardHeader(r)) } } |
