12 lines
280 B
Go
12 lines
280 B
Go
package application
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func (application *Application) GetClaimsHandler(c *gin.Context) {
|
|
system := c.DefaultQuery("system", "upc")
|
|
barcode := c.Query("barcode")
|
|
|
|
application.GetClaims(system, barcode)
|
|
// TODO: 404 when claims are not found
|
|
}
|