refactor(admin): use go1.16 embed for templates and assets

This commit is contained in:
sentriz
2021-05-08 15:56:33 +01:00
committed by Senan Kelly
parent 6f15589c08
commit 0c871d888b
9 changed files with 78 additions and 11322 deletions

View File

@@ -1,22 +0,0 @@
package main
import (
"fmt"
"log"
"os"
_ "github.com/jinzhu/gorm/dialects/sqlite"
"go.senan.xyz/gonic/server/scanner/tags"
)
func main() {
t, err := tags.New(os.Args[1])
if err != nil {
log.Fatalf("error reading: %v", err)
}
fmt.Println("artist", t.Album())
fmt.Println("aartist", t.AlbumArtist())
fmt.Println("len", t.Length())
fmt.Println("br", t.Bitrate())
}