compact/compact.go
func Serialize(parts ...[]byte) string {
	result := make([]string, len(parts))

	for i, part := range parts {
		result[i] = base64url.Encode(part)
	}

	return strings.Join(result, ".")
}
func Serialize(parts ...[]byte) string {
	result := make([]string, len(parts))

	for i, part := range parts {
		result[i] = base64url.Encode(part)
	}

	return strings.Join(result, ".")
}
func Serialize ( parts ... [ ] byte ) string { result := make ( [ ] string , len ( parts ) ) for i , part := range parts { result [ i ] = base64url . Encode ( part ) } return strings . Join ( result , " " ) }
// Serialize converts given parts into compact serialization format
Serialize converts given parts into compact serialization format