timoth-y/kicksware-api

View on GitHub
services/orders/core/service/orderSerializer.go

Summary

Maintainability
A
0 mins
Test Coverage
package service

import model "go.kicksware.com/api/services/orders/core/model"

type OrderSerializer interface {
    Decode(input []byte) (*model.Order, error)
    DecodeRange(input []byte) ([]*model.Order, error)
    DecodeMap(input []byte) (map[string]interface{}, error)
    DecodeInto(input []byte, target interface{}) error
    Encode(input interface{}) ([]byte, error)
}