1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix(onboarding): update go snippet (#8333)

This commit is contained in:
Tymoteusz Czech 2024-10-02 12:14:29 +02:00 committed by GitHub
parent 32849b6322
commit 3341d4aee9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 9 deletions

View File

@ -1,12 +1,14 @@
1\. Install the SDK
```sh
go get github.com/Unleash/unleash-client-go/v3
go get github.com/Unleash/unleash-client-go/v4
```
2\. Run Unleash
```go
package main
import (
"github.com/Unleash/unleash-client-go/v3"
"github.com/Unleash/unleash-client-go/v4"
"net/http"
"time"
)
@ -31,12 +33,6 @@ func main() {
---
```go
import (
"github.com/Unleash/unleash-client-go/v3"
"net/http"
"time"
)
func init() {
unleash.Initialize(
unleash.WithListener(&unleash.DebugListener{}),

View File

@ -119,7 +119,7 @@ export const ProjectOnboarding = ({
};
return (
<Container data-testid='container'>
<Container>
<TitleBox>
<TitleRow>
<Typography fontWeight='bold'>