3 ms·
A good example of a Go project using embed to pack its html/css/js assets in a single binary is PocketBase: https://github.com/pocketbase/pocketbase/blob/maste
by jadayesnaamsi 3y ago
A good example of a Go project using embed to pack its html/css/js assets in a single binary is PocketBase:
https://github.com/pocketbase/pocketbase/blob/master/ui/embed.go https://github.com/pocketbase/pocketbase/blob/master/ui/embe...
- heywire 3y agoLast I checked, AdGuard Home also did this. https://github.com/AdguardTeam/AdGuardHome https://github.com/AdguardTeam/AdGuardHome