mholt / binding

Reflectionless data binding for Go's net/http (not actively maintained)
http://mholt.github.io/binding
MIT License
795 stars 84 forks source link

fix Field.Bind usage #56

Closed bhcleek closed 7 years ago

bhcleek commented 7 years ago

Fix the usage of Field.Bind so that the field name is taken from the field specification.

Correct README.md's example of using Field.Bind.

Add testable examples of Field.Bind and Binder and sync the testable examples with the examples in README.md.

Fixes #55.