Hi guys, please could you advise on how to fix drone-config-plugin-starter compilation issue?
Compiling with the command:
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o drone-config-plugin
Getting the error:
./plugin.go:54:52: not enough arguments in call to client.Repositories.GetContents
have (string, string, string, *github.RepositoryContentGetOptions)
want (context.Context, string, string, string, *github.RepositoryContentGetOptions)
./plugin.go:69:51: not enough arguments in call to client.Repositories.GetContents
have (string, string, string, *github.RepositoryContentGetOptions)
want (context.Context, string, string, string, *github.RepositoryContentGetOptions)
I have a suspicion go-github lib has been updated since the plugin has been released, but i am a total go noob, hence need an advice on this.
Thanks in advance.