go styleguide: require Stringer for custom string wrapper types #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "clawbot/prompts:add-stringer-rule"
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?
Add rule: custom string types should implement
fmt.Stringerand use.String()method calls instead ofstring()casts when passing to library code.This codifies the pattern applied in upaas PR #126.
8fc81c3774tocfa5d4e174Closing as duplicate — the Stringer rule is already included in PR #2 alongside the no-type-only-packages rule.
Pull request closed