create working test endpoint

This commit is contained in:
katefort 2025-04-17 15:54:33 -05:00
parent 560a3dbc4b
commit c1930d6821
11 changed files with 134 additions and 66 deletions

View file

@ -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