forked from Mirrors/jsonapi
cf83b97b3d
* 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 |
||
---|---|---|
.. | ||
app.go | ||
fixtures.go | ||
handler.go | ||
handler_test.go | ||
models.go |