create working test endpoint
This commit is contained in:
parent
560a3dbc4b
commit
c1930d6821
11 changed files with 134 additions and 66 deletions
|
@ -1,19 +1 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/labstack/gommon/log"
|
||||
)
|
||||
|
||||
func testService(c *gin.Context) {
|
||||
log.Debug("Test was successful.")
|
||||
c.JSON(http.StatusOK, gin.H{"message": "Hello World!"})
|
||||
}
|
||||
|
||||
func claimsByBarcode(c *gin.Context) {
|
||||
system := c.DefaultQuery("system", "upc")
|
||||
barcode := c.Query("barcode")
|
||||
|
||||
}
|
||||
package services
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue