influxdata / influxdata/influxdb

Use `go:embed` for serving static UI files

Open
#21,652 1 comment 0 reactions 0 assignees View on GitHub
area/2.x area/ui team/edge
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Now that we are using `go1.16`, we can refactor the static asset server to use `go:embed` rather than `go-bindata`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the static asset server and the current go-bindata generation or integration in the repository. Read the existing Go 1.16 build path and verify how the UI assets are served before changing the asset mechanism. Done means the static UI remains available using go:embed and the old go-bindata path is no longer required.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, web-dev
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.