This package uses osin with go-json-rest and implements the storage interface for OSIN with MongoDB using mgo.
The shell scripts under bin/ build a docker image and execute the tests. Make sure that you can run docker without sudo.
All structs are serialized as is, i.e. no references are created or resolved.
Currently MongoDB >= 2.6 is required, on 2.4 the TestLoad* Tests fail, but I do not know why.
This project's form middleware inspired by the following projects:
https://github.com/boonep/go-json-rest-middleware-formjson
See the examples subdirectory for integrating into OSIN.
- Add the cache support
- Add the https support
This package is made available under the MIT License