Open winds2016 opened 6 years ago
Now need two func for route "/login" and "/login/"? such as for "/" app.Get("/", func(ctx neo.Ctx) (int, error) { ... }) i need another func for "": app.Get("", func(ctx neo.Ctx) (int, error) { ... })
Now need two func for route "/login" and "/login/"? such as for "/" app.Get("/", func(ctx neo.Ctx) (int, error) { ... }) i need another func for "": app.Get("", func(ctx neo.Ctx) (int, error) { ... })