this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: update claud.md to always run go fmt

+37 -36
+1
CLAUDE.md
··· 21 21 22 22 ## Code Quality 23 23 24 + - **Run `go fmt`** on all Go code before committing 24 25 - **No trailing whitespace** - validate with `git diff --check` before committing 25 26 - **No Docker usage** without explicitly discussing it first 26 27 - **Keep changes minimal** - avoid over-engineering or adding unnecessary features
+1 -1
internal/handler/api_v1_integration_test.go
··· 24 24 insertedLinkID int 25 25 26 26 // Quotes 27 - quotes []data.Quote 27 + quotes []data.Quote 28 28 quoteByID *data.Quote 29 29 30 30 // Stats
+7 -7
internal/handler/api_v1_redirect_test.go
··· 181 181 182 182 func TestAPIv1_RedirectHandler_ClickTracking(t *testing.T) { 183 183 tests := []struct { 184 - name string 185 - path string 186 - sigQueryParam string 187 - clickSigningKey string 188 - linkURL string 189 - expectIncrement bool 190 - expectedStatus int 184 + name string 185 + path string 186 + sigQueryParam string 187 + clickSigningKey string 188 + linkURL string 189 + expectIncrement bool 190 + expectedStatus int 191 191 }{ 192 192 { 193 193 name: "valid signature increments clicks",
+5 -5
internal/handler/api_v1_stats_test.go
··· 14 14 // mockStatsStore is a mock implementation of data.Store for testing stats API handlers. 15 15 type mockStatsStore struct { 16 16 data.Store 17 - userStats []data.UserStat 18 - userStatsFn func(sortBy string, limit int, offset int) ([]data.UserStat, error) 19 - links []data.IRCLink 20 - quotes []data.Quote 21 - err error 17 + userStats []data.UserStat 18 + userStatsFn func(sortBy string, limit int, offset int) ([]data.UserStat, error) 19 + links []data.IRCLink 20 + quotes []data.Quote 21 + err error 22 22 } 23 23 24 24 func (m *mockStatsStore) GetUserStats(ctx context.Context, sortBy string, limit int, offset int) ([]data.UserStat, error) {