code: func ToGoName(name string) string {
  	in := split(name)
  	out := make([]string, 0, len(in))
  
  	for _, w := range in {
  		uw := upper(w)
  		mod := int(math.Min(float64(len(uw)), 2))
  		if !isInitialism(uw) && !isInitialism(uw[:len(uw)-mod]) {
  			uw = Camelize(w)
  		}
  		out = append(out, uw)
  	}
  
  	result := strings.Join(out, "")
  	if len(result) > 0 {
  		if !unicode.IsUpper([]rune(result)[0]) {
  			result = "X" + result
  		}
  	}
  	return result
  }
docs: // ToGoName translates a swagger name which can be underscored or camel cased to a name that golint likes