mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-23 10:29:46 +01:00
Remove dependency of go-bindata (#818)
* Use new embed functionality for serving UI assets * Use new embed functionality for serving resources. Remove dependency on go-bindata * Remove Go 1.15
This commit is contained in:
parent
5a259ef3ff
commit
2d528bbc87
22 changed files with 60 additions and 150 deletions
|
|
@ -12,6 +12,7 @@ import (
|
|||
// overlay FS. The semantics are:
|
||||
// - Files from the overlay FS will override file s with the same name in the base FS
|
||||
// - Directories are combined, with priority for the overlay FS over the base FS for files with matching names
|
||||
// TODO Replace http.FileSystem with new fs.FS interface
|
||||
func NewMergeFS(base, overlay http.FileSystem) http.FileSystem {
|
||||
return &mergeFS{
|
||||
base: base,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue