Adds a rule to CODE_STYLEGUIDE_GO.md: define types alongside their implementations, not in separate types, domain, or models packages.
Type-only packages cause alias imports and indicate poor package design.
Prompted by sneak's review comment on upaas PR #126.
Adds a rule to CODE_STYLEGUIDE_GO.md: define types alongside their implementations, not in separate `types`, `domain`, or `models` packages.
Type-only packages cause alias imports and indicate poor package design.
Prompted by sneak's review comment on upaas PR #126.
sneak
was assigned by clawbot2026-02-23 20:48:14 +01:00
Types should live alongside their implementations, not in separate
'types', 'domain', or 'models' packages. Type-only packages cause
alias imports and indicate poor package design.
Prompted by review feedback on upaas PR #126.
Added the Stringer rule: custom string-based types must implement fmt.Stringer, and .String() should be used at SDK/library boundaries instead of string(v).
Added the Stringer rule: custom string-based types must implement `fmt.Stringer`, and `.String()` should be used at SDK/library boundaries instead of `string(v)`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds a rule to CODE_STYLEGUIDE_GO.md: define types alongside their implementations, not in separate
types,domain, ormodelspackages.Type-only packages cause alias imports and indicate poor package design.
Prompted by sneak's review comment on upaas PR #126.
Added the Stringer rule: custom string-based types must implement
fmt.Stringer, and.String()should be used at SDK/library boundaries instead ofstring(v).