You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,12 @@ Install the golang SDK using go
35
35
go get github.com/harness/ff-golang-server-sdk
36
36
```
37
37
38
-
### A Simple Example
39
-
Here is a complete example that will connect to the feature flag service and report the flag value every 10 seconds until the connection is closed.
40
-
Any time a flag is toggled from the feature flag service you will receive the updated value.
38
+
### Code Sample
39
+
The following is a complete code example that you can use to test the `harnessappdemodarkmode` Flag you created on the Harness Platform. When you run the code it will:
40
+
- Connect to the FF service.
41
+
- Report the value of the Flag every 10 seconds until the connection is closed. Every time the harnessappdemodarkmode Flag is toggled on or off on the Harness Platform, the updated value is reported.
0 commit comments