mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 03:01:03 +01:00
16 lines
369 B
Go
16 lines
369 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/kataras/iris"
|
||
|
|
||
|
"github.com/kataras/iris/_examples/structuring/mvc/app"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
// http://localhost:8080
|
||
|
// http://localhost:8080/follower/42
|
||
|
// http://localhost:8080/following/42
|
||
|
// http://localhost:8080/like/42
|
||
|
app.Boot(iris.Addr(":8080"), iris.WithoutServerError(iris.ErrServerClosed), iris.WithoutVersionChecker)
|
||
|
}
|