offen / offen

Offen Fair Web Analytics

Home Page:https://www.offen.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use embed package from stdlib for embedding static assets

m90 opened this issue · comments

Offen currently uses package static for embedding static assets (HTML templates, script files) into the binaries. Go 1.16 introduces package embed (https://golang.org/pkg/embed/) which provides the same functionality. We should look into using it instead of static to ensure future support by the toolchain.