Skip to content

Commit dc7a058

Browse files
Merge pull request #88 from harness/MAINT-more-readme-standards
Update README.md
2 parents 146a216 + cffb8d8 commit dc7a058

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ Install the golang SDK using go
3535
go get github.com/harness/ff-golang-server-sdk
3636
```
3737

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.
42+
- Close the SDK.
43+
4144

4245

4346
```go
@@ -102,7 +105,7 @@ export FF_API_KEY=<your key here>
102105
go run examples/getting_started.go
103106
```
104107

105-
### Running with docker
108+
### Running the example with Docker
106109
If you dont have the right version of golang installed locally, or don't want to install the dependencies you can
107110
use docker to quick get started
108111

0 commit comments

Comments
 (0)