Skip to content

Commit

Permalink
docs: secrets example (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
gak authored Jun 14, 2024
1 parent 3beaca4 commit 6600be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/docs/reference/secretsconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var apiKey = ftl.Secret[string]("apiKey")
Then to retrieve a secret value:

```go
username = defaultUser.Get(ctx)
key = apiKey.Get(ctx)
```

### Transforming secrets/configuration
Expand Down

0 comments on commit 6600be1

Please sign in to comment.