Skip to content

Instantly share code, notes, and snippets.

@tremaineeto
Created September 8, 2021 06:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tremaineeto/b079e1c96fb6a1de0f4550ef62a256be to your computer and use it in GitHub Desktop.
Save tremaineeto/b079e1c96fb6a1de0f4550ef62a256be to your computer and use it in GitHub Desktop.
var (
decoderType = reflect.TypeOf((*Decoder)(nil)).Elem()
setterType = reflect.TypeOf((*Setter)(nil)).Elem()
textUnmarshalerType = reflect.TypeOf((*encoding.TextUnmarshaler)(nil)).Elem()
binaryUnmarshalerType = reflect.TypeOf((*encoding.BinaryUnmarshaler)(nil)).Elem()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment