Build Error for Enterprise Gitrob
Hi , I get the build error while building the enterprise version of gitrob. https://github.com/muffix/gitrob/tree/github-enterprise gitrob-github-enterprise # ./build.sh Appreciate if you provide any assistance (I have the updated version of golang)
[*] Building linux/amd64 ...
_/root/Downloads/gitrob-github-enterprise
../main.go:106:20: sess.GithubURL undefined (type *core.Session has no field or method GithubURL) ../main.go:120:69: cannot use sess (type core.Session) as type int in argument to core.CloneRepository ../main.go:168:35: too many arguments in call to finding.Initialize [] Building darwin/amd64 ...
_/root/Downloads/gitrob-github-enterprise
../main.go:106:20: sess.GithubURL undefined (type *core.Session has no field or method GithubURL) ../main.go:120:69: cannot use sess (type core.Session) as type int in argument to core.CloneRepository ../main.go:168:35: too many arguments in call to finding.Initialize [] Building windows/amd64 ...
_/root/Downloads/gitrob-github-enterprise
../main.go:106:20: sess.GithubURL undefined (type *core.Session has no field or method GithubURL) ../main.go:120:69: cannot use sess (type *core.Session) as type int in argument to core.CloneRepository ../main.go:168:35: too many arguments in call to finding.Initialize shasum: *:
@ranjithprethan Can you please pull this fork and try again. If the error still persists then please open an issue in that repo and I will look into it. I believe this is fixed and was due to the codebase being in different states due to the way it was laid out.