1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 11:57:02 +00:00

update dependencies

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-15 23:29:20 +03:00
parent de4f462198
commit a8a3afea22
186 changed files with 694 additions and 689 deletions

View File

@@ -10,7 +10,7 @@ import (
var helloView = hero.View{
Name: "hello/index.html",
Data: map[string]interface{}{
Data: map[string]any{
"Title": "Hello Page",
"MyMessage": "Welcome to my awesome website",
},

View File

@@ -47,7 +47,7 @@ func UpdateMovieByID(ctx iris.Context, service services.MovieService, id uint64)
// DeleteMovieByID deletes a movie.
// Demo:
// curl -i -X DELETE -u admin:password http://localhost:8080/movies/1
func DeleteMovieByID(service services.MovieService, id uint64) interface{} {
func DeleteMovieByID(service services.MovieService, id uint64) any {
wasDel := service.DeleteByID(id)
if wasDel {
// return the deleted movie's ID