func (k *keyPart) Bytes() []byte { typeInfo := &gocqlTypeInfo{ proto: 0x03, typ: cassaType(k.Value), } // FIXME handle err marshalled, _ := gocql.Marshal(typeInfo, k.Value) return marshalled }
func (k *keyPart) Bytes() []byte { typeInfo := &gocqlTypeInfo{ proto: 0x03, typ: cassaType(k.Value), } marshalled, err := gocql.Marshal(typeInfo, k.Value) if err != nil { panic(err) } return marshalled }