add logger, rearrange database initialization
This commit is contained in:
parent
d26e7b8345
commit
735de8d657
7 changed files with 131 additions and 14 deletions
|
@ -1 +1,8 @@
|
|||
package main
|
||||
|
||||
func testService(c *gin.Context) {
|
||||
log.Debug("Test was successful.")
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"message": "Hello World!"
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue