Philipp15b / go-steamapi

Steam Web API in Go.
http://godoc.org/github.com/Philipp15b/go-steamapi
MIT License
93 stars 28 forks source link

undefined: ResolveVanityUrl #10

Closed Grobycn closed 4 years ago

Grobycn commented 4 years ago

go get github.com/Philipp15b/go-steamapi throws error: github.com/Philipp15b/go-steamapi/id.go:33:15: undefined: ResolveVanityUrl

There is a function named ResolveVanityURL in go-steamapi/profiles.go Seems case sensitivity mismatch.

edit: another mismatch github.com/Philipp15b/go-steamapi/id.go:38:26: resp.SteamId undefined (type *ResolveVanityURLResponse has no field or method SteamId, but does have SteamID)

Philipp15b commented 4 years ago

I think the problems should have been fixed by #9, which I've now merged. Thank you for the report!