diff --git a/README.md b/README.md index e64e5cae..6b0e85b5 100644 --- a/README.md +++ b/README.md @@ -258,6 +258,29 @@ Read more about this Go project's [code standards](.github/CODE_STANDARDS.md).
+## 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)! + +
+ ## Contributing All kinds of contributions are welcome!