summaryrefslogtreecommitdiff
path: root/structs.go
blob: 05ed89ebc333e0102cb0046eab5715f923b4068e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package forgepb

import (
	"go.wit.com/lib/protobuf/gitpb"
	"go.wit.com/lib/protobuf/zoopb"
)

// 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
	Machine *zoopb.Machine
}

func (f *Forge) GetGoSrc() string {
	return f.goSrc
}