How to use middlewares in January
init.january.go
file.CORS
middle.
cors.go
in the middleware
package and add a method called Cors with a receiver m *Middleware
init.january.go
file, add the middle just below the apply middleware
comment:
make start