Files Embedding package main import ( "embed" "log" "net/http" ) // content holds the static content (2 files) or the web server. //go:embed a.txt b.txt var content embed.FS func main() { http.Handle("/", http.FileServer(http.FS(co...
cheatsheetmaker.hashnode.dev1 min readNo responses yet.