foxfiles/main.go
2024-02-01 21:32:10 +01:00

19 lines
227 B
Go

package main
import (
"net/http"
"codeberg.org/u1f320/foxfiles/log"
)
func main() {
r, err := Router()
if err != nil {
log.Errorf("creating router: %v", err)
return
}
http.ListenAndServe(":8080", r)
select {}
}