timoth-y/kicksware-api

View on GitHub
services/rating/core/service/ratingSerializer.go

Summary

Maintainability
A
0 mins
Test Coverage
package service

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

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