Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W Waarp Manager
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 160
    • Issues 160
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Applications
  • Waarp Manager
  • Waarp Manager
  • Issues
  • #317
Closed
Open
Issue created Mar 25, 2022 by Bruno Carlin@bruno.carlinOwner

Embed frontend assets using "//go:embed"

Go 1.16 introduces a new way to embed static assets in a binary using the //go:embed directive and the packageembed.

We currently use a combination of github.com/jessevdk/go-assets end a fork made by me. Using the native way is safer (embedding is done when go build is invoked, instead of go generate), easier to maintain, and it removes 2 external dependencies, which cannot hurt!

Assignee
Assign to
Time tracking