examples

command
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

main package is an example of how to use the querybuilder to construct filters for MongoDB Find operations.

To run this example, get a running instance of Docker on 27017 `docker run -d --name example-mongo -p 27017:27017 mongo`

To start the example server: `go run examples/example.go`

To query the newly running example API: `curl http://localhost:3080/v1/things?filter[attributes]=round`

For more queryoptions info, see: https://github.com/brozeph/queryoptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL