timoth-y/kicksware-api

View on GitHub
services/references/core/service/sneakerReferenceSerializer.go

Summary

Maintainability
A
0 mins
Test Coverage
package service

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

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