Jobs & Workflows https://armen.surge.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
765 B

// +build !devel
/*
------------------------------------------------------------------------------------------------------------------------
####### gui ####### Copyright (c) 2021 mls-361 ##################################################### MIT License #######
------------------------------------------------------------------------------------------------------------------------
*/
package gui
import (
"embed"
"io/fs"
"net/http"
)
//go:embed static
var static embed.FS
func getStaticFS() (http.FileSystem, error) {
fsys, err := fs.Sub(static, "static")
if err != nil {
return nil, err
}
return http.FS(fsys), nil
}
/*
######################################################################################################## @(°_°)@ #######
*/