micro-codec-iso8583/options.go
Vasiliy Tolstov 730840242c initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-03-12 00:13:55 +03:00

13 lines
224 B
Go

package iso8583
import (
"github.com/moov-io/iso8583"
codec "go.unistack.org/micro/v3/codec"
)
type specKey struct{}
func MessageSpec(spec *iso8583.MessageSpec) codec.Option {
return codec.SetOption(specKey{}, spec)
}