examples

command
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 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:8080/v1/things?filter[attributes]=round`

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

Jump to

Keyboard shortcuts

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