sselph / scraper

A scraper for EmulationStation written in Go using hashing
MIT License
449 stars 88 forks source link

How to resolve these errors? #267

Open feiser2016 opened 1 year ago

feiser2016 commented 1 year ago

github.com/sselph/scraper/gdb go/src/github.com/sselph/scraper/gdb/gdb.go:28:18: assignment mismatch: 3 variables but apiClient.PublishersApi.Publishers returns 1 values go/src/github.com/sselph/scraper/gdb/gdb.go:28:55: too many arguments in call to apiClient.PublishersApi.Publishers have (context.Context, string) want (context.Context) go/src/github.com/sselph/scraper/gdb/gdb.go:66:18: assignment mismatch: 3 variables but apiClient.DevelopersApi.Developers returns 1 values go/src/github.com/sselph/scraper/gdb/gdb.go:66:55: too many arguments in call to apiClient.DevelopersApi.Developers have (context.Context, string) want (context.Context) go/src/github.com/sselph/scraper/gdb/gdb.go:104:18: assignment mismatch: 3 variables but apiClient.GenresApi.Genres returns 1 values go/src/github.com/sselph/scraper/gdb/gdb.go:104:47: too many arguments in call to apiClient.GenresApi.Genres have (context.Context, string) want (context.Context) go/src/github.com/sselph/scraper/gdb/gdb.go:181:16: cannot convert apiGameImage.Id (type int32) to type int go/src/github.com/sselph/scraper/gdb/gdb.go:182:3: cannot use apiGameImage.Type (type string) as type string in field value go/src/github.com/sselph/scraper/gdb/gdb.go:183:3: cannot use apiGameImage.Side (type string) as type string in field value go/src/github.com/sselph/scraper/gdb/gdb.go:184:3: cannot use apiGameImage.Filename (type string) as type string in field value go/src/github.com/sselph/scraper/gdb/gdb.go:184:3: too many errors