summaryrefslogtreecommitdiff
path: root/structs.go
blob: 8adc4882f4aabf67f246a3ebea3843ef66c9e3c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}