Age | Commit message (Collapse) | Author |
|
|
|
|
|
This function just increases function nesting and makes the code less
readable.
|
|
io/ioutil should not be used since Go 1.16.
|
|
The embed package makes it useless to handle static files from the
source tree during runtime. All those files go simply to the embed.FS
variable and are thus embedded into the binary which is easier to
handle.
|
|
This removes the need to deploy the simple.css file to the target
machine.
|
|
Comments inside functions are not that helpful. While the functino
docstring should explain everything to a user, the implementation inside
should speak for itself.
|
|
|
|
This very simple CSS framework is far better / beautiful / easy to
maintain than my own CSS.
|
|
Passing this as part of the configuration file is not flexible. With
args it can be easily tweaked for the debug use case while the default
path for production is included in the argument parsing.
|
|
|
|
|
|
|
|
|
|
|