Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #522 from BuxOrg/feat/BUX-433/ChangeReadme
Browse files Browse the repository at this point in the history
BUX-433/Change readme
  • Loading branch information
Nazarii-4chain authored Jan 19, 2024
2 parents b836d3a + 86ce946 commit c108973
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,29 @@ Read more about this Go project's [code standards](.github/CODE_STANDARDS.md).

<br/>

## Usage

```
func main() {
client, err := bux.NewClient(
context.Background(), // Set context
)
if err != nil {
log.Fatalln("error: " + err.Error())
}
defer func() {
_ = client.Close(context.Background())
}()
log.Println("client loaded!", client.UserAgent())
}
```

Checkout all the [examples](examples)!

<br/>

## Contributing
All kinds of contributions are welcome!
<br/>
Expand Down

0 comments on commit c108973

Please sign in to comment.