This website requires JavaScript.
Explore
Help
Register
Sign In
dotya.ml
/
homepage
Watch
2
Star
1
Fork
0
You've already forked homepage
Code
Issues
2
Pull Requests
Projects
1
Releases
Activity
9bbfef4c39
homepage
/
go.mod
4 lines
47 B
Modula-2
Raw
Normal View
History
Unescape
Escape
embed homepage in a Go app (#33) the entire './public' folder that Hugo produces is embedded into a variable of 'embed.FS' type and served directly using the default http mux that Go std offers. ci, pre-commit, Dockerfile and compose file have all been updated accordingly. nginx is no longer needed to front the site files, which enabled switching to a SCRATCH image containing just a single statically linked "homepage" app that has all files (html, css, js) embedded. the containers are otherwise empty (as the name SCRATCH suggests), which further decreases potential attack surface area. Co-authored-by: surtur <a_mirre@utb.cz> Reviewed-on: https://git.dotya.ml/dotya.ml/homepage/pulls/33
2022-08-08 15:20:50 +02:00
module
git
.
dotya
.
ml
/
dotya
.
ml
/
homepage
ci,dockerfile,gomod: bump base to go1.20
2023-07-19 22:39:12 +02:00
go
1.20
Reference in New Issue
Copy Permalink