1 2 3 4 5 6 7 8 9 10 11 12 13
package gitpb func (repo *Repo) SetReadOnly(b bool) { repo.ReadOnly = b } func (repo *Repo) SetTargetVersion(target string) { repo.TargetVersion = target } func (repo *Repo) SetMasterBranchName(s string) { repo.MasterBranchName = s }