From 78d4d6ef67a42d90481c864d5824f152400d4f65 Mon Sep 17 00:00:00 2001 From: Nemi Shah Date: Fri, 17 Mar 2023 16:50:05 +0530 Subject: [PATCH] Update golang snippets and env dependency --- v2/emailpassword/custom-ui/init/dashboard.mdx | 1 - v2/emailpassword/pre-built-ui/setup/dashboard.mdx | 1 - v2/passwordless/custom-ui/init/dashboard.mdx | 1 - v2/passwordless/pre-built-ui/setup/dashboard.mdx | 1 - v2/src/plugins/codeTypeChecking/goEnv/go.mod | 2 +- v2/src/plugins/codeTypeChecking/goEnv/go.sum | 2 ++ v2/thirdparty/custom-ui/init/dashboard.mdx | 1 - v2/thirdparty/pre-built-ui/setup/dashboard.mdx | 1 - v2/thirdpartyemailpassword/custom-ui/init/dashboard.mdx | 1 - v2/thirdpartyemailpassword/pre-built-ui/setup/dashboard.mdx | 1 - v2/thirdpartypasswordless/custom-ui/init/dashboard.mdx | 1 - v2/thirdpartypasswordless/pre-built-ui/setup/dashboard.mdx | 1 - v2/userdashboard/about.mdx | 1 - 13 files changed, 3 insertions(+), 12 deletions(-) diff --git a/v2/emailpassword/custom-ui/init/dashboard.mdx b/v2/emailpassword/custom-ui/init/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/emailpassword/custom-ui/init/dashboard.mdx +++ b/v2/emailpassword/custom-ui/init/dashboard.mdx @@ -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" ) diff --git a/v2/emailpassword/pre-built-ui/setup/dashboard.mdx b/v2/emailpassword/pre-built-ui/setup/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/emailpassword/pre-built-ui/setup/dashboard.mdx +++ b/v2/emailpassword/pre-built-ui/setup/dashboard.mdx @@ -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" ) diff --git a/v2/passwordless/custom-ui/init/dashboard.mdx b/v2/passwordless/custom-ui/init/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/passwordless/custom-ui/init/dashboard.mdx +++ b/v2/passwordless/custom-ui/init/dashboard.mdx @@ -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" ) diff --git a/v2/passwordless/pre-built-ui/setup/dashboard.mdx b/v2/passwordless/pre-built-ui/setup/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/passwordless/pre-built-ui/setup/dashboard.mdx +++ b/v2/passwordless/pre-built-ui/setup/dashboard.mdx @@ -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" ) diff --git a/v2/src/plugins/codeTypeChecking/goEnv/go.mod b/v2/src/plugins/codeTypeChecking/goEnv/go.mod index 1e680be47..b7da03998 100644 --- a/v2/src/plugins/codeTypeChecking/goEnv/go.mod +++ b/v2/src/plugins/codeTypeChecking/goEnv/go.mod @@ -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 ( diff --git a/v2/src/plugins/codeTypeChecking/goEnv/go.sum b/v2/src/plugins/codeTypeChecking/goEnv/go.sum index 874d3fd60..970c532e1 100644 --- a/v2/src/plugins/codeTypeChecking/goEnv/go.sum +++ b/v2/src/plugins/codeTypeChecking/goEnv/go.sum @@ -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= diff --git a/v2/thirdparty/custom-ui/init/dashboard.mdx b/v2/thirdparty/custom-ui/init/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/thirdparty/custom-ui/init/dashboard.mdx +++ b/v2/thirdparty/custom-ui/init/dashboard.mdx @@ -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" ) diff --git a/v2/thirdparty/pre-built-ui/setup/dashboard.mdx b/v2/thirdparty/pre-built-ui/setup/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/thirdparty/pre-built-ui/setup/dashboard.mdx +++ b/v2/thirdparty/pre-built-ui/setup/dashboard.mdx @@ -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" ) diff --git a/v2/thirdpartyemailpassword/custom-ui/init/dashboard.mdx b/v2/thirdpartyemailpassword/custom-ui/init/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/thirdpartyemailpassword/custom-ui/init/dashboard.mdx +++ b/v2/thirdpartyemailpassword/custom-ui/init/dashboard.mdx @@ -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" ) diff --git a/v2/thirdpartyemailpassword/pre-built-ui/setup/dashboard.mdx b/v2/thirdpartyemailpassword/pre-built-ui/setup/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/thirdpartyemailpassword/pre-built-ui/setup/dashboard.mdx +++ b/v2/thirdpartyemailpassword/pre-built-ui/setup/dashboard.mdx @@ -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" ) diff --git a/v2/thirdpartypasswordless/custom-ui/init/dashboard.mdx b/v2/thirdpartypasswordless/custom-ui/init/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/thirdpartypasswordless/custom-ui/init/dashboard.mdx +++ b/v2/thirdpartypasswordless/custom-ui/init/dashboard.mdx @@ -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" ) diff --git a/v2/thirdpartypasswordless/pre-built-ui/setup/dashboard.mdx b/v2/thirdpartypasswordless/pre-built-ui/setup/dashboard.mdx index 09bda230b..fd8400af7 100644 --- a/v2/thirdpartypasswordless/pre-built-ui/setup/dashboard.mdx +++ b/v2/thirdpartypasswordless/pre-built-ui/setup/dashboard.mdx @@ -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" ) diff --git a/v2/userdashboard/about.mdx b/v2/userdashboard/about.mdx index 3faa5106b..f3fbdbe11 100644 --- a/v2/userdashboard/about.mdx +++ b/v2/userdashboard/about.mdx @@ -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" )