try doc syntax from rill
This commit is contained in:
parent
e924aa4b7d
commit
5d03131047
|
@ -0,0 +1,17 @@
|
|||
package forgepb_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// --- Package examples ---
|
||||
|
||||
// This example is copied from rill to understand golang docs
|
||||
func Example() {
|
||||
fmt.Println("nothing here yet")
|
||||
}
|
||||
|
||||
// This example is copied from rill to understand golang docs
|
||||
func Example_batching() {
|
||||
fmt.Println("nothing batching here yet")
|
||||
}
|
|
@ -20,12 +20,12 @@ func main() {
|
|||
if argv.List {
|
||||
repos.PrintTable()
|
||||
/*
|
||||
log.Info(forgepb.RepoHeader())
|
||||
loop := repos.SortByPath() // get the list of repos
|
||||
for loop.Scan() {
|
||||
r := loop.Repo()
|
||||
log.Info("repo:", r.GoPath)
|
||||
}
|
||||
log.Info(forgepb.RepoHeader())
|
||||
loop := repos.SortByPath() // get the list of repos
|
||||
for loop.Scan() {
|
||||
r := loop.Repo()
|
||||
log.Info("repo:", r.GoPath)
|
||||
}
|
||||
*/
|
||||
os.Exit(0)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue