From 6c80dd3f311dd09c5fa795eacd75d2a11e6c65d6 Mon Sep 17 00:00:00 2001 From: Gerald Kaszuba Date: Wed, 23 May 2018 07:28:19 +1000 Subject: [PATCH] README fix for the kong tag change --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e1e931..aff7c9c 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,6 @@ type Decoder interface { All builtin Go types (as well as a bunch of useful stdlib types like `time.Time`) have decoders registered by default. Decoders for custom types can be added using `kong.RegisterDecoder(decoder)`. Decoders are mapped from fields in three ways: -1. By registering a `kong.NamedDecoder` and using the tag `type:""`. +1. By registering a `kong.NamedDecoder` and using the key `type=''`. 2. By registering a `kong.KindDecoder` with a `reflect.Kind`. 3. By registering a `kong.TypeDecoder` with a `reflect.Type`.