README ¶ Inventory App using flat architecture https://dev-state.com/posts/http_services/ Endpoint List Items: curl http://localhost:5000 | json_pp Endpoint Add Item: curl --header "Content-Type: application/json" --request POST --data "@add_item.json" http://localhost:5000/add Endpoint Change Open Status for Item: curl -sS 'http://localhost:5000/open?id=5&open=true' Endpoint Delete Item: curl http://localhost:5000/del?id=2 Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files data.go handlers.go main.go middleware.go model.go routes.go storage.go Click to show internal directories. Click to hide internal directories.