func illegalNames() (names []string) {
	const maxLegalLength = 1024
	names = []string{
		// Empty and too long
		"",
		strings.Repeat("a", maxLegalLength+1),

		// Not valid UTF-8
		"foo\xff",

		// Carriage return and line feed
		"foo\u000abar",
		"foo\u000dbar",
	}

	return
}
// Return a list of object names that are illegal in GCS.
// Cf. https://cloud.google.com/storage/docs/bucket-naming
Return a list of object names that are illegal in GCS.
Cf.
// Return a list of object names that are illegal in GCS . // Cf . https : // cloud . google . com / storage / docs / bucket - naming
func illegalNames() (names []string) {
	const maxLegalLength = 1024
	names = []string{
		"",
		strings.Repeat("a", maxLegalLength+1),
		"foo\xff",
		"foo\u000abar",
		"foo\u000dbar",
	}
	return
}
func illegalNames ( ) ( names [ ] string ) { const maxLegalLength = 1024 names = [ ] string { " " , strings . Repeat ( " " , maxLegalLength + 1 ) , " \xff " , " \u000a " , " \u000d " , } return }
Return a list of object names that are illegal in GCS.
Return a list of object names that are illegal in GCS .
// Empty and too long // Not valid UTF-8 // Carriage return and line feed