From 354a7fc6bee6517c3270dc88aef6666dcae73c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Mon, 30 Sep 2024 13:53:21 +0200 Subject: [PATCH] gofmt -s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaƫl Pinson --- credly/badge.go | 2 -- credly/badge_template.go | 1 - credly/badge_test.go | 1 - 3 files changed, 4 deletions(-) diff --git a/credly/badge.go b/credly/badge.go index 1d181d6..8e4755d 100644 --- a/credly/badge.go +++ b/credly/badge.go @@ -35,7 +35,6 @@ type getBadgesResponse struct { Data []BadgeInfo `json:"data"` } - // BadgeInfo represents the details of an issued badge. type BadgeInfo struct { Id string `json:"id"` @@ -59,7 +58,6 @@ type BadgeInfo struct { } `json:"user"` } - // IssueBadge issues a new badge to a user based on their email and personal details. // // templateId: The ID of the badge template to be issued. diff --git a/credly/badge_template.go b/credly/badge_template.go index a16c639..1c898b4 100644 --- a/credly/badge_template.go +++ b/credly/badge_template.go @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. - package credly import ( diff --git a/credly/badge_test.go b/credly/badge_test.go index 01bdc1a..66611a6 100644 --- a/credly/badge_test.go +++ b/credly/badge_test.go @@ -210,7 +210,6 @@ func TestGetBadge(t *testing.T) { mockClient.AssertExpectations(t) } - func TestGetBadges_Failure(t *testing.T) { mockClient := new(MockHTTPClient) client := &Client{