A search application for searching objects inside json files.
Run go run ./cmd/pestotrap
and search for jokes on http://localhost:8090
/internal/demo contains some example data and configuration. The data type joke is defined by how the files are named.
/pkg should be reusable outside this project.
See example usage in /cmd/pestotrap/main.go an /internal/documents.