foxfiles/main.go

20 lines
227 B
Go
Raw Normal View History

2024-02-01 21:32:10 +01:00
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 {}
}