| Age | Commit message (Collapse) | Author |
|
This commit fully introduces Meson as a build system for this
repository. It makes sure the frontend page is built with Hugo before
the Go executable is built and embeds the frontend.
|
|
This makes use of the `embed` package of the Go standard library to
embed the full Hugo static website as a global filesystem variable
inside the executable.
This effectively makes all files of the static website part of the Go
executable. That way it is always possible to just copy the server
executable to a host, make it executable and run it without any other
dependencies.
|
|
This makes the Hugo-built static website part of site hosted by Go which
also contains the dynamic API under /api.
|
|
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.
|
|
This was just for demonstration purposes.
|
|
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.
|