From bb38d2da05b799a3869999fa0dfb8798a35e8a5c Mon Sep 17 00:00:00 2001 From: Wlad Meixner <9556979+gosticks@users.noreply.github.com> Date: Mon, 28 Jan 2019 09:11:07 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99de54a..c3d8545 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ This library provides easy access to the mite time tracking api (API not fully c l := zap.SugarLogger() // create a mite api instance - miteAPI := NewMiteAPI(username, team, apiKey, l) + // appName should be a discriptive string for you application (e.g. "my-app/v0.1") + miteAPI := NewMiteAPI(username, team, apiKey, appName, l) // now you can use the api customers, errCustomers := mite.GetAllCustomers() From 77bb5576525cb85ecfd0511b4283845329fce5e4 Mon Sep 17 00:00:00 2001 From: Wlad Meixner <9556979+gosticks@users.noreply.github.com> Date: Mon, 28 Jan 2019 09:11:37 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index c3d8545..5c624e5 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,9 @@ This library provides easy access to the mite time tracking api (API not fully c ## Getting Started ``` - // create a logger instance if not done already done - l := zap.SugarLogger() - // create a mite api instance // appName should be a discriptive string for you application (e.g. "my-app/v0.1") - miteAPI := NewMiteAPI(username, team, apiKey, appName, l) + miteAPI := NewMiteAPI(username, team, apiKey, appName) // now you can use the api customers, errCustomers := mite.GetAllCustomers()