StringUppercaser wraps strings.Builder.
| 4 | |
| 5 | // StringUppercaser wraps strings.Builder. |
| 6 | type StringUppercaser struct { |
| 7 | Contents strings.Builder |
| 8 | } |
| 9 | |
| 10 | func (su StringUppercaser) ToUpper() string { |
| 11 | return strings.ToUpper(su.Contents.String()) |
nothing calls this directly
no outgoing calls
no test coverage detected