mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
cf1e580cde
Former-commit-id: 27c97d005d9cbd2309587b11fc9e2bab85870502
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)
|
|
}
|