All Versions
Latest Version
Avg Release Cycle
84 days
Latest Release
701 days ago

Changelog History
Page 2

  • v2.3.0 Changes

    February 16, 2017

    What was added?

    ➕ Added a new function to both the Decoder and Encoder called RegisterTagNameFunc.


    0️⃣ Once a custom function has been registered the default, or custom set, tag name is ignored and relies 100% on the function for the field name data.

    The return value WILL BE CACHED and so return value must be CONSISTENT.

  • v2.2.2 Changes

    February 15, 2017

    🛠 What was fixed?

    • 📜 Parsing of struct tag, by name, corrected for when multiple tags exists, this was corrected in #15 thanks @htmd

    P.S. in the future, I will change this so that instead of specifying the tag name, a function will be specified allowing for greater flexibility; but it would be a breaking change so leaving for now until needed.

  • v2.2.1 Changes

    February 13, 2017

    🛠 What was fixed?

    • ➕ Added additional notes to RegisterCustomTypeFunc to indicate that if a struct type is registered a url.Value must exist explicitly for the struct and not just the fields.

    eg. url.Values{"User":"Name%3Djoeybloggs"} will call the custom type function with User as the type, however url.Values{"User.Name":"joeybloggs"} will not.

    🛠 Fixes #14