zoopb/example/main.go

15 lines
210 B
Go

package main
import (
"fmt"
"go.wit.com/lib/protobuf/gitpb"
)
func main() {
var r *gitpb.Repository
r = gitpb.Load("go.wit.com/lib/protobuf/gitpb")
fmt.Println("repo has branches:", len(r.Branches))
}