Go/main.go

14 lines
217 B
Go

package main
import (
"gitea.com/action-examples/go/router"
)
func main() {
r := router.New()
// listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
if err := r.Run(); err != nil {
panic(err)
}
}