Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions on using
NewClient
in its Godoc docblock
There's an example at the top of the River package demonstrating the use of `NewClient`, but as I was reading the docs today, I realized that since `NewClient` is somewhat non-trivial to invoke because it requires a generic parameter, it'd be a good idea to also have an example of its use right in `NewClient`'s docblock. That way, if a user is viewing this function they don't need to go hunt around for examples to try and figure out how to use it.
- Loading branch information