Skip to content

Conversation

@bnunamak
Copy link
Contributor

Pointers for "one" cardinality fields (IDs, model / entity structs) are idiomatic in common frameworks in Go. Non-pointerized slices are also idiomatic for "many" cardinality fields. A nil check suffices for both optional field types.

… specification

Pointers for "one" cardinality fields (IDs, model / entity structs) are idiomatic in common frameworks in Go. Non-pointerized slices are also idiomatic for "many" cardinality fields. A nil check suffices for both optional field types.
@bnunamak bnunamak merged commit c53e308 into main Feb 23, 2025
1 check passed
@bnunamak bnunamak deleted the realign-kamo1-go1 branch February 23, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants