add namespace
This commit is contained in:
parent
33399f18e5
commit
d0616fae03
|
@ -25,7 +25,8 @@ func (all *Repos) NewGoRepo(fullpath string, gopath string) (*Repo, error) {
|
||||||
|
|
||||||
// add a new one here
|
// add a new one here
|
||||||
newr := Repo{
|
newr := Repo{
|
||||||
FullPath: fullpath,
|
FullPath: fullpath,
|
||||||
|
Namespace: gopath,
|
||||||
}
|
}
|
||||||
newr.Times = new(GitTimes)
|
newr.Times = new(GitTimes)
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ message GoInfo { // `autogenpb
|
||||||
}
|
}
|
||||||
|
|
||||||
message Repo { // `autogenpb:marshal` `autogenpb:nomutex`
|
message Repo { // `autogenpb:marshal` `autogenpb:nomutex`
|
||||||
string namespace = 1; // `autogenpb:sort` // this repo is 'go.wit.com/lib/protobuf/gitpb'
|
string namespace = 1; // `autogenpb:unique` `autogenpb:sort` // this repo is 'go.wit.com/lib/protobuf/gitpb'
|
||||||
string fullPath = 2; // `autogenpb:unique` `autogenpb:sort` // the OS path to the .git directory: '/home/devel/golang.org/x/tools'
|
string fullPath = 2; // `autogenpb:unique` `autogenpb:sort` // the OS path to the .git directory: '/home/devel/golang.org/x/tools'
|
||||||
string masterBranchName = 3; // git 'main' or 'master' branch name
|
string masterBranchName = 3; // git 'main' or 'master' branch name
|
||||||
string develBranchName = 4; // whatever the git 'devel' branch name is
|
string develBranchName = 4; // whatever the git 'devel' branch name is
|
||||||
|
|
Loading…
Reference in New Issue