mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
ca4c66d5b4
Former-commit-id: 19c71f41c0864d2f3f36627e9da53b4802a4476b
13 lines
248 B
Go
13 lines
248 B
Go
package main
|
|
|
|
import (
|
|
"github.com/kataras/iris"
|
|
"github.com/kataras/iris/_benchmarks/iris-mvc/controllers"
|
|
)
|
|
|
|
func main() {
|
|
app := iris.New()
|
|
app.Controller("/api/values/{id}", new(controllers.ValuesController))
|
|
app.Run(iris.Addr(":5000"))
|
|
}
|