forgepb/structs.go

15 lines
295 B
Go

package forgepb
import "go.wit.com/lib/protobuf/gitpb"
// maybe an interface someday?
type Forge struct {
goSrc string // the path to go/src
Config *ForgeConfigs // config repos for readonly, private, etc
Repos *gitpb.Repos
}
func (f *Forge) GetGoSrc() string {
return f.goSrc
}