mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
ok make it cleaner, it's working well and blazing fast but I have to do a lot cleaning and commenting and docs as well before push it to master --- hope at christmas day, also thinking some internal ideas - the whole code is not ready to be readen by a third person yet.
Former-commit-id: 0b3fb2841d5032ff47bdca42a6f4ccfeb789ce3c
This commit is contained in:
@@ -13,7 +13,9 @@ import (
|
||||
|
||||
func main() {
|
||||
app := iris.New()
|
||||
mvc.New(app.Party("/api/values/{id}")).Register(new(controllers.ValuesController))
|
||||
mvc.New(app.Party("/api/values/{id}")).
|
||||
Register(new(controllers.ValuesController))
|
||||
|
||||
app.Run(iris.Addr(":5000"), iris.WithoutVersionChecker)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user