Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WithTonApiKey function to client package
The idea is to use WithTonApiKey in the following way: import ( tonapiClient "github.com/tonkeeper/opentonapi/client" ) func main() { cli, _ := tonapiClient.NewClient("https://tonapi.io", tonapiClient.WithTonApiKey(tonapiKey)) }
- Loading branch information