gister icon indicating copy to clipboard operation
gister copied to clipboard

Build Errors -- missing context

Open prologic opened this issue 6 years ago • 0 comments

$ go get github.com/dutchcoders/gister
# github.com/dutchcoders/gister
go/src/github.com/dutchcoders/gister/main.go:26:35: not enough arguments in call to client.Gists.Delete
	have (string)
	want (context.Context, string)
go/src/github.com/dutchcoders/gister/main.go:75:36: not enough arguments in call to client.Gists.Create
	have (*"github.com/google/go-github/github".Gist)
	want (context.Context, *"github.com/google/go-github/github".Gist)
go/src/github.com/dutchcoders/gister/main.go:93:34: not enough arguments in call to client.Gists.Get
	have (string)
	want (context.Context, string)
go/src/github.com/dutchcoders/gister/main.go:131:34: not enough arguments in call to client.Gists.Get
	have (string)
	want (context.Context, string)
go/src/github.com/dutchcoders/gister/main.go:159:34: not enough arguments in call to client.Gists.Get
	have (string)
	want (context.Context, string)
go/src/github.com/dutchcoders/gister/main.go:274:34: not enough arguments in call to client.Gists.Get
	have (string)
	want (context.Context, string)
go/src/github.com/dutchcoders/gister/main.go:283:34: not enough arguments in call to client.Gists.Edit
	have (string, *"github.com/google/go-github/github".Gist)
	want (context.Context, string, *"github.com/google/go-github/github".Gist)
go/src/github.com/dutchcoders/gister/main.go:300:36: not enough arguments in call to client.Gists.List
	have (string, *"github.com/google/go-github/github".GistListOptions)
	want (context.Context, string, *"github.com/google/go-github/github".GistListOptions)
go/src/github.com/dutchcoders/gister/main.go:313:36: not enough arguments in call to client.Gists.List
	have (string, *"github.com/google/go-github/github".GistListOptions)
	want (context.Context, string, *"github.com/google/go-github/github".GistListOptions)

prologic avatar Dec 18 '18 01:12 prologic