Added controller testing.
This commit is contained in:
parent
7f93fa7f6c
commit
5e384c8a4e
7 changed files with 105 additions and 16 deletions
4
main.go
4
main.go
|
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
"goweb/config"
|
||||
"goweb/container"
|
||||
"goweb/router"
|
||||
"goweb/controllers"
|
||||
|
||||
"github.com/labstack/gommon/log"
|
||||
)
|
||||
|
|
@ -27,7 +27,7 @@ func main() {
|
|||
}
|
||||
|
||||
// Build the router
|
||||
router.BuildRouter(c)
|
||||
controllers.BuildRouter(c)
|
||||
|
||||
// Start the server
|
||||
go func() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue