mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
Former-commit-id: 0f0667f7e460dc241f3a8fcca50cc6caf228d081
This commit is contained in:
@@ -20,7 +20,7 @@ func main() {
|
||||
// Register our controllers.
|
||||
app.Controller("/hello", new(controllers.HelloController))
|
||||
|
||||
// Create our movie service (memory), we will bind it to the movies controller.
|
||||
// Create our movie service (memory), we will bind it to the movie controller.
|
||||
service := services.NewMovieServiceFromMemory(datasource.Movies)
|
||||
|
||||
app.Controller("/movies", new(controllers.MovieController),
|
||||
|
||||
Reference in New Issue
Block a user