init - add project files
This commit is contained in:
9
handlers/init.go
Normal file
9
handlers/init.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package handlers
|
||||
|
||||
import "net/http"
|
||||
|
||||
var HttpFS http.Handler
|
||||
|
||||
func Init() {
|
||||
HttpFS = http.FileServer(http.Dir("wwwroot"))
|
||||
}
|
||||
Reference in New Issue
Block a user