diff options
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)) } } |
