Skip to content

Commit

Permalink
docs: fix typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-github committed Aug 11, 2024
1 parent a8a42e5 commit cdcea97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
with:
go-version-file: "go.mod"


- name: Install tools
run: make tools

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can learn how to obtain it [here](https://www.xelon.ch/docs/xelon-api-101#au
Then use your token to create a new client:

```go
client := client := xelon.NewClient("my-secret-token")
client := xelon.NewClient("my-secret-token")
```

If you want to specify more parameters by client initialization, use
Expand All @@ -45,7 +45,7 @@ opts = append(opts, xelon.WithBaseURL(baseURL))
opts = append(opts, xelon.WithClientID(clientID))
opts = append(opts, xelon.WithUserAgent(userAgent))

client := client := xelon.NewClient("my-secret-token", opts...)
client := xelon.NewClient("my-secret-token", opts...)
```

### Examples
Expand Down

0 comments on commit cdcea97

Please sign in to comment.