code: func typeIsSliceOrArray(typ reflect.Type) bool {
  	k := typ.Kind()
  	return (k == reflect.Slice || k == reflect.Array) && typ.Elem().Kind() != reflect.Uint8
  }
docs: // typeIsSliceOrArray returns true iff typ is a slice or array