to aid in troubleshooting.
Before:
```
Pointer type in struct is not supported
```
After:
```
jsonapi: Can't unmarshal true (bool) to struct field `Name`, which is a pointer to `string`
```
* Used to have 6 functions: MarshalOnePayload, MarshalOnePayloadWithoutIncluded, MarshalOne, MarshalManyPayload, MarshalManyPayloadWithoutIncluded, MarshalMany - now there are only 3: MarshalPayload, MarshalPayloadWithoutIncluded, Marshal. This simplifies the public API; will be easier to explain and document while still providing the existing support for struct ptrs (&Blog{}) and slices of struct ptrs ([]*Blog{}).
* Correcting all code occurrences leftover.
* Updating README to reflect Marshal API changes.
* Omit the mention of One vs Many
This commit adds omitempty to the field ID of type Node. This is needed
when constructing an entity client-side and sending it to the server for
creation. Without omitempty, the constructed entity will contain an
empty "id": "", which is not sensible to transmit.
This change addresses #83.
* Added back the Metable implementation for our example models.
* Examples updated to use jsonapi.Links and jsonapi.Meta types rather than the underlying map[string]interface{}
* Commenting the Metable interface and moving the Meta type beside it.
* Use the headerAccept constant defined for the example app.
* Make the Meta field of a Link of type Meta rather than a map[string]inteface{}
* Convert the map[string]interface to a Meta in the test.
* Updated the readme to include a deeply nested, varying typed meta example.
* Moving all testing models to their own file; preparing to write a more complete Meta test.
* Make the Meta test also check for the value of the detail key. Moved more test support models.
* master:
Added tests for the REST endpoints exposed in our example. Added a script for running the example app. Split the example into multiple files.
Go 1.8 released today; dropping support for 1.6
Travis calls script/test
Added a script/test such that the example app can also have tests and been included in the CI test runs.
# Conflicts:
# examples/app.go
* add Meta field in node structs and Metable/RelationshipMetable interfaces
* update response marshalling to add Meta
* update tests for presence of Meta
* add Metable and RelationshipMetable interfaces to example
* update README to include Meta details
Instead of using `cd` to change to the package directory, prepend the examples commands with `$GOPATH`, which will make the commands easier to follow for anyone unfamiliar with Go. It's easy to miss the 'cd' instruction above.