go styleguide: require Stringer for custom string wrapper types #3
Yeni konuda referans
Bir kullanıcı engelle
"(silindi): add-stringer-rule" Dalını Sil
Bir dalı silmek kalıcıdır. Her ne kadar silinen dal tamamen kaldırılana kadar çok kısa bir süre yaşamını sürdürse de, çoğu durumda bu işlem GERİ ALINAMAZ. Devam edilsin mi?
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.
8fc81c3774hedefindencfa5d4e174hedefine zorla gönderildiClosing as duplicate — the Stringer rule is already included in PR #2 alongside the no-type-only-packages rule.
Değişiklik isteği kapatıldı