go-graphite / carbonapi

Unused code SCC-U1000
Bug risk
Major
2 occurrences in this check
func byteAllowedInName is unused
 10	'@': struct{}{},
 11}
 12
 13func byteAllowedInName(b byte) bool { 14	_, ok := allowedCharactersInMetricName[b]
 15	return ok
 16}
var allowedCharactersInMetricName is unused
  5	"unicode/utf8"
  6)
  7
  8var allowedCharactersInMetricName = map[byte]struct{}{  9	'=': struct{}{},
 10	'@': struct{}{},
 11}