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