supertokens / supertokens-golang

GoLang SDK for SuperTokens
https://supertokens.com
Other
115 stars 34 forks source link

GoReleaser Fails on account of an untyped variable declaration #398

Closed DLzer closed 5 months ago

DLzer commented 6 months ago

Received an error compiling a binary for linux_386 while using GoRelease and the supertokens-golang SDK. The error below complains of an untyped variable in the recipe/session/utils package.

The error:

⨯ release failed after 52s  error=failed to build for linux_386: exit status 1: # github.com/supertokens/supertokens-golang/recipe/session
/root/go/pkg/mod/github.com/supertokens/supertokens-golang@v0.17.4/recipe/session/utils.go:242:46: cannot use 3153600000000 (untyped int constant) as int value in variable declaration (overflows)
rishabhpoddar commented 5 months ago

This has been fixed in our golang sdk version >= v0.17.5