http_client_name.go 259 B

1234567891011121314
  1. package client
  2. import "strings"
  3. type ClientName int
  4. //go:generate stringer -type=ClientName -output=http_client_name_string.go
  5. const (
  6. Client ClientName = iota
  7. )
  8. func (name *ClientName) LowerCaseString() string {
  9. return strings.ToLower(name.String())
  10. }