Documentation
¶
Overview ¶
Example: integrating lagodev with a net/http API. We use net/http instead of importing gin to keep the example dependency-free; the integration pattern is identical for Gin/Fiber/Echo — the framework only needs the *database.Connection to hand to handlers.
Run with `go run ./examples/gin` and curl http://localhost:8080/users.
Click to show internal directories.
Click to hide internal directories.