From d88cfe684b6414bde001bfe72912924f9bb3c7d4 Mon Sep 17 00:00:00 2001 From: Scott Robinson Date: Tue, 10 Dec 2024 19:21:59 +1100 Subject: [PATCH] fix: example code typo in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f44102..1c84330 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,12 @@ ctx := context.Background() // b2_authorize_account b2, err := b2.NewClient(ctx, id, key) if err != nil { - log.Fatalln(e) + log.Fatalln(err) } buckets, err := b2.ListBuckets(ctx) if err != nil { - log.Fatalln(e) + log.Fatalln(err) } ``` @@ -143,4 +143,4 @@ base := bucket.BaseURL() ### Licenses The b2 package currently does not consume any third party packages and entirely depends on imports of the Go stdlib or from sources provided within the `blazer` repository itself. -A report of used licenses can be found at `./b2/licenses.csv` which was generated with https://github.com/google/go-licenses . Please double check yourself if this is a concern as this may change over time and the licenses report could become stale \ No newline at end of file +A report of used licenses can be found at `./b2/licenses.csv` which was generated with https://github.com/google/go-licenses . Please double check yourself if this is a concern as this may change over time and the licenses report could become stale