Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
securingsincity committed Feb 11, 2021
1 parent f1e132b commit 5d76e5c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ If you want to track any event call the `Track` method. `Track` takes the event'
```go
client.Track("Checkout Submitted", molasses.User{
ID: "baz",
Params: map[string]string{
Params: map[string]interface{}{
"teamId": "12356",
},
}, map[string]string{
}, map[string]interface{}{
"version": "v2.3.0"
})
```
Expand All @@ -78,10 +78,10 @@ To track the start of an experiment, you can call `ExperimentStarted`. Experimen
```go
client.ExperimentStarted("GOOGLE_SSO", molasses.User{
ID: "baz",
Params: map[string]string{
Params: map[string]interface{}{
"teamId": "12356",
},
}, map[string]string{
}, map[string]interface{}{
"version": "v2.3.0"
})
```
Expand All @@ -91,10 +91,10 @@ To track whether an experiment was successful you can call `ExperimentSuccess`.
```go
client.ExperimentSuccess("GOOGLE_SSO", molasses.User{
ID: "baz",
Params: map[string]string{
Params: map[string]interface{}{
"teamId": "12356",
},
}, map[string]string{
}, map[string]interface{}{
"version": "v2.3.0"
})
```
Expand Down Expand Up @@ -123,7 +123,7 @@ func main() {

if client.IsActive("Another feature", molasses.User{
ID: "baz",
Params: map[string]string{
Params: map[string]interface{}{
"teamId": "12356",
},
}) {
Expand Down

0 comments on commit 5d76e5c

Please sign in to comment.