code: func typeIsString(typ reflect.Type) bool {
  	k := typ.Kind()
  	return k == reflect.String || ((k == reflect.Slice || k == reflect.Array) && typ.Elem().Kind() == reflect.Uint8)
  }
docs: // typeIsString returns true iff typ is a string or an array or slice of bytes
  // (which is freely castable to a string)