Skip to content

Commit

Permalink
Return interface instead of unexported struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Mindaugas Bernotas committed Jul 9, 2022
1 parent d71115c commit ed0db1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labas.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ed0db1d

Please sign in to comment.