package forgepb import ( "go.wit.com/lib/protobuf/gitpb" ) // maybe an interface someday? type Forge struct { Config *ForgeConfigs // config repos for readonly, private, etc Repos *gitpb.Repos // the repo protobufs Patches *Patches // patches that are in progress Sets *Sets // patches that are in progress hostname string // your hostname goWork bool // means the user is currently using a go.work file mode ForgeMode // what "mode" forge is in cache *Cache // decides what repos to work against } func (f *Forge) IsGoWork() bool { return f.goWork }