Example #1
0
func (c serealCodec) Marshal(v interface{}) ([]byte, error) {
	return sereal.Marshal(v)
}
func (s SerealSerializer) Marshal(o interface{}) []byte {
	d, _ := sereal.Marshal(o)
	return d
}