From ed0db1d1226b981aa833918de4ae9972161572d2 Mon Sep 17 00:00:00 2001 From: Mindaugas Bernotas Date: Sat, 9 Jul 2022 16:50:27 +0300 Subject: [PATCH] Return interface instead of unexported struct --- labas.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labas.go b/labas.go index 7476447..2b1657c 100644 --- a/labas.go +++ b/labas.go @@ -49,7 +49,7 @@ type client struct { mx sync.Mutex } -func NewClient(username, password string) *client { +func NewClient(username, password string) Client { jar, _ := cookiejar.New(nil) return &client{ username: username,