Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Hougaard
a0770baff2 Update go.mdx 2024-06-12 19:40:58 +02:00
Sheen Capadngan
f8a4b6365c Merge pull request #1961 from Infisical/misc/resolved-goreleaser-hardcode
misc: resolved goreleaser hardcoded version
2024-06-12 22:02:41 +08:00

View File

@@ -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
</ParamField>
### 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