Skip to content

Commit

Permalink
Merge pull request #617 from supertokens/go-env-fix
Browse files Browse the repository at this point in the history
chore: Update golang snippets and env dependency
  • Loading branch information
rishabhpoddar authored Mar 17, 2023
2 parents 4081721 + 78d4d6e commit bcc2697
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 12 deletions.
1 change: 0 additions & 1 deletion v2/emailpassword/custom-ui/init/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
1 change: 0 additions & 1 deletion v2/emailpassword/pre-built-ui/setup/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
1 change: 0 additions & 1 deletion v2/passwordless/custom-ui/init/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
1 change: 0 additions & 1 deletion v2/passwordless/pre-built-ui/setup/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
2 changes: 1 addition & 1 deletion v2/src/plugins/codeTypeChecking/goEnv/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/go-chi/cors v1.2.1
github.com/gorilla/handlers v1.5.1
github.com/gorilla/mux v1.8.0
github.com/supertokens/supertokens-golang v0.10.0
github.com/supertokens/supertokens-golang v0.10.2
)

require (
Expand Down
2 changes: 2 additions & 0 deletions v2/src/plugins/codeTypeChecking/goEnv/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ github.com/supertokens/supertokens-golang v0.9.14 h1:7gG03u1nBdhslGB7VvkeppbDuQ4
github.com/supertokens/supertokens-golang v0.9.14/go.mod h1:GtnhBUpE3LgIWRQbGP1aWwh34aDiUPo/hRUSy4Haf+w=
github.com/supertokens/supertokens-golang v0.10.0 h1:hHBc+ck6DkIbNckZgeMof5ZohLerooVShA+BrlHaKqE=
github.com/supertokens/supertokens-golang v0.10.0/go.mod h1:GtnhBUpE3LgIWRQbGP1aWwh34aDiUPo/hRUSy4Haf+w=
github.com/supertokens/supertokens-golang v0.10.2 h1:rO9CK7Y/75nM9J+5+nqR5+nlIfU23L6XB1oHPEFrizM=
github.com/supertokens/supertokens-golang v0.10.2/go.mod h1:GtnhBUpE3LgIWRQbGP1aWwh34aDiUPo/hRUSy4Haf+w=
github.com/twilio/twilio-go v0.26.0 h1:wFW4oTe3/LKt6bvByP7eio8JsjtaLHjMQKOUEzQry7U=
github.com/twilio/twilio-go v0.26.0/go.mod h1:lz62Hopu4vicpQ056H5TJ0JE4AP0rS3sQ35/ejmgOwE=
github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo=
Expand Down
1 change: 0 additions & 1 deletion v2/thirdparty/custom-ui/init/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
1 change: 0 additions & 1 deletion v2/thirdparty/pre-built-ui/setup/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
1 change: 0 additions & 1 deletion v2/thirdpartyemailpassword/custom-ui/init/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
1 change: 0 additions & 1 deletion v2/thirdpartypasswordless/custom-ui/init/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
1 change: 0 additions & 1 deletion v2/thirdpartypasswordless/pre-built-ui/setup/dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down
1 change: 0 additions & 1 deletion v2/userdashboard/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ SuperTokens.init({
```go
import (
"github.com/supertokens/supertokens-golang/recipe/dashboard"
"github.com/supertokens/supertokens-golang/recipe/dashboard/dashboardmodels"
"github.com/supertokens/supertokens-golang/supertokens"
)

Expand Down

0 comments on commit bcc2697

Please sign in to comment.