From a0770baff2942cc87c3af59e51038db3b372284d Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Wed, 12 Jun 2024 19:40:58 +0200 Subject: [PATCH] Update go.mdx --- docs/sdks/languages/go.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sdks/languages/go.mdx b/docs/sdks/languages/go.mdx index e60a578bc..a8affa154 100644 --- a/docs/sdks/languages/go.mdx +++ b/docs/sdks/languages/go.mdx @@ -9,7 +9,7 @@ icon: "golang" If you're working with Go Lang, the official [Infisical Go SDK](https://github.com/infisical/go-sdk) package is the easiest way to fetch and work with secrets for your application. - [Package](https://pkg.go.dev/github.com/infisical/go-sdk) -- [Github Repository](https://github.com/infiscial/go-sdk) +- [Github Repository](https://github.com/infisical/go-sdk) ## Basic Usage @@ -282,7 +282,7 @@ Retrieve all secrets within the Infisical project and environment that client is -### client.Secrets().Get(options) +### client.Secrets().Retrieve(options) ```go secret, err := client.Secrets().Retrieve(infisical.RetrieveSecretOptions{ @@ -294,7 +294,7 @@ secret, err := client.Secrets().Retrieve(infisical.RetrieveSecretOptions{ Retrieve a secret from Infisical. -By default, `Secrets().Get()` fetches and returns a shared secret. +By default, `Secrets().Retrieve()` fetches and returns a shared secret. #### Parameters