package main import ( "fmt" "io/fs" "net/http" "git.yetaga.in/alazyreader/library/frontend" ) // test 3 func main() { subfs, _ := fs.Sub(frontend.Static, "files") fmt.Println(http.ListenAndServe(":8080", http.FileServer(http.FS(subfs)))) }