(b *testing.B)
| 150 | } |
| 151 | |
| 152 | func BenchmarkAppendToLower(b *testing.B) { |
| 153 | a := []byte(nil) |
| 154 | s := []byte("someFieldWithALongName") |
| 155 | |
| 156 | for range b.N { |
| 157 | a = appendToLower(a[:0], s) |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | var ( |
| 162 | benchmarkHasPrefixString = []byte("some random string") |
nothing calls this directly
no test coverage detected
searching dependent graphs…