summaryrefslogtreecommitdiff
path: root/handlers.go
AgeCommit message (Collapse)Author
28 hoursHook up frontend in Go web serverxengineering
This makes the Hugo-built static website part of site hosted by Go which also contains the dynamic API under /api.
29 hoursMove to /api/versionxengineering
The old /version endpoint was moved. It should be part of the API and it is intended that everything not part of /api/* is a static web site which is also served by the Go server.
29 hoursRemove / and hello() handlerxengineering
This was just for demonstration purposes.
29 hoursAdd handlers.goxengineering
This keeps the HTTP handlers in a separate file which registers the routes in an init() function. The main execution flow is still maintained in a now minimal main.go.