fix!: no mixed receiver types #23
Reference in New Issue
Block a user
Delete Branch "fix/mixed-receiver-types"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Currently,
bucketandTablehave 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
bucketandTablewith pointer receivers.Design Decisions
This decision was made due to the advice on the Go wiki.
Checklist
recvchecklinter ce41d4fba2fix!: no mixed receiver typesto fix!: no mixed receiver typefix!: no mixed receiver typeto fix!: no mixed receiver types