forked from goffee/todoapp
first commit
This commit is contained in:
parent
968575e907
commit
5d67da6b1c
32 changed files with 1319 additions and 0 deletions
15
register-global-middlewares.go
Normal file
15
register-global-middlewares.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2023 Harran Ali <harran.m@gmail.com>. All rights reserved.
|
||||
// Use of this source code is governed by MIT-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package main
|
||||
|
||||
// Register middlewares globally
|
||||
func registerGlobalMiddlewares() {
|
||||
//########################################
|
||||
//# Global middlewares registration #####
|
||||
//########################################
|
||||
|
||||
// Register global middlewares here ...
|
||||
// core.UseMiddleware(middlewares.AnotherExampleMiddleware)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue