Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var (
- // retrive the reflect.Type of an instance of the Marshaler interface.
- marshalerType = reflect.TypeOf(new(Marshaler)).Elem()
- textMarshalerType = reflect.TypeOf(new(encoding.TextMarshaler)).Elem()
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement