fix!: no mixed receiver types #23

Merged
mvhutz merged 4 commits from fix/mixed-receiver-types into main 2026-04-16 03:27:49 +00:00
Owner

Description

Currently, bucket and Table have mixed receiver types: some are pointer receviers, and others are value receivers.

As per the Go Wiki, you can have value and pointer receivers, just don't mix them.

Changes

  • Replace all value receivers in bucket and Table with pointer receivers.

Design Decisions

This decision was made due to the advice on the Go wiki.

Checklist

  • Tests pass
  • Docs updated
## Description Currently, `bucket` and `Table` have mixed receiver types: some are pointer receviers, and others are value receivers. As per the Go Wiki, [you can have value and pointer receivers, just don't mix them](https://go.dev/doc/faq#methods_on_values_or_pointers). ## Changes - Replace all value receivers in `bucket` and `Table` with pointer receivers. ### Design Decisions This decision was made due to the advice on the Go wiki. ## Checklist - [x] Tests pass - [x] Docs updated
mvhutz added 2 commits 2026-04-16 03:04:01 +00:00
fix!: removed all 'mixed pointer'-edness
All checks were successful
CI / Check PR Title (pull_request) Successful in 31s
CI / Makefile Lint (pull_request) Successful in 45s
CI / Markdown Lint (pull_request) Successful in 34s
CI / Unit Tests (pull_request) Successful in 41s
CI / Go Lint (pull_request) Successful in 56s
CI / Fuzz Tests (pull_request) Successful in 1m39s
CI / Mutation Tests (pull_request) Successful in 1m5s
f35583e079
mvhutz added 1 commit 2026-04-16 03:17:58 +00:00
mvhutz changed title from fix!: no mixed receiver types to fix!: no mixed receiver type 2026-04-16 03:22:49 +00:00
mvhutz changed title from fix!: no mixed receiver type to fix!: no mixed receiver types 2026-04-16 03:23:01 +00:00
mvhutz added 1 commit 2026-04-16 03:23:44 +00:00
test: bump cicd pipeline
All checks were successful
CI / Check PR Title (pull_request) Successful in 30s
CI / Go Lint (pull_request) Successful in 53s
CI / Makefile Lint (pull_request) Successful in 50s
CI / Markdown Lint (pull_request) Successful in 34s
CI / Unit Tests (pull_request) Successful in 50s
CI / Fuzz Tests (pull_request) Successful in 1m20s
CI / Mutation Tests (pull_request) Successful in 2m50s
99f5548237
mvhutz merged commit 29ba6bfd4d into main 2026-04-16 03:27:49 +00:00
mvhutz deleted branch fix/mixed-receiver-types 2026-04-16 03:27:49 +00:00
Sign in to join this conversation.