From 5ffe9658f0c752e899e99b91ef17d0f1baff7325 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 28 May 2026 10:31:39 +0300 Subject: fix(clients): normalize constructor signatures and pointer returns (iq) --- internal/github/github.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/github/github.go') diff --git a/internal/github/github.go b/internal/github/github.go index a8909a8..e48fc50 100644 --- a/internal/github/github.go +++ b/internal/github/github.go @@ -23,8 +23,8 @@ type Client struct { var _ forge.RepoClient = (*Client)(nil) // NewClient creates a new GitHub API client -func NewClient(token, org string) Client { - return Client{ +func NewClient(token, org string) *Client { + return &Client{ token: loadToken(token), org: org, } -- cgit v1.2.3