mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +00:00
update examples dependencies, see previous commit as well
This commit is contained in:
@@ -109,7 +109,7 @@ func main() {
|
||||
app.Get("/admin", func(ctx iris.Context) {
|
||||
ctx.WriteString("super secret information that only logged in administrators must see!\n\n")
|
||||
if usernames, err := userstate.AllUsernames(); err == nil {
|
||||
ctx.Writef("list of all users: %s" + strings.Join(usernames, ", "))
|
||||
ctx.Writef("list of all users: %s", strings.Join(usernames, ", "))
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user