atlassian / go-sentry-api

A go client for the sentry api https://sentry.io/api/
Other
53 stars 39 forks source link

make problem #9

Open kubex75 opened 6 years ago

kubex75 commented 6 years ago

Hi

When trying to compile i receive:

# github.com/atlassian/go-sentry-api
vendor/src/github.com/atlassian/go-sentry-api/client.go:60: unknown http.Client field 'Timeout' in struct literal
vendor/src/github.com/atlassian/go-sentry-api/team.go:29: undefined: http.MethodPost
vendor/src/github.com/atlassian/go-sentry-api/team.go:40: undefined: http.MethodDelete
github.com/reconquest/hierr-go
make: *** [build] Error 2

Do you know what could be a cause of this? Thank you

cwood commented 5 years ago

Can you provide what you ran?

kubex75 commented 5 years ago

When trying to compile atlassian. Problem was in older version of go-lang. After upgrade to the latest, everything run OK, so the issue was solved.