@@ -26,7 +26,7 @@ func (a Api) GetFile(c *gin.Context) {
2626 category := c .Param ("category" )
2727 filename := c .Param ("filename" )
2828
29- tag := fmt .Sprintf ("apiGetFile (%s,%s) [%s]: " , category , filename , user )
29+ tag := fmt .Sprintf ("api.GetFile (%s,%s) [%s]: " , category , filename , user )
3030
3131 if category == "" || filename == "" {
3232 log .Print (tag + "Missing category or filename" )
@@ -71,7 +71,7 @@ func (a Api) GetFileList(c *gin.Context) {
7171 criteria := c .Param ("criteria" )
7272 value := c .Param ("value" )
7373
74- tag := fmt .Sprintf ("apiGetFileList (%s,%s,%s) [%s]: " , category , criteria , value , user )
74+ tag := fmt .Sprintf ("api.GetFileList (%s,%s,%s) [%s]: " , category , criteria , value , user )
7575
7676 if category == "" || criteria == "" || value == "" {
7777 log .Print (tag + "Missing category or criteria or value" )
@@ -116,7 +116,7 @@ func (a Api) GetOutputMonths(c *gin.Context) {
116116
117117 year := c .Param ("year" )
118118
119- tag := fmt .Sprintf ("apiGetOutputMonths (%s) [%s]: " , year , user )
119+ tag := fmt .Sprintf ("api.GetOutputMonths (%s) [%s]: " , year , user )
120120
121121 if year == "" {
122122 log .Print (tag + "Missing year" )
@@ -143,7 +143,7 @@ func (a Api) GetOutputMonths(c *gin.Context) {
143143func (a Api ) GetOutputYears (c * gin.Context ) {
144144 user := c .MustGet (gin .AuthUserKey ).(string )
145145
146- tag := fmt .Sprintf ("apiGetOutputYears () [%s]: " , user )
146+ tag := fmt .Sprintf ("api.GetOutputYears () [%s]: " , user )
147147
148148 query := "SELECT " +
149149 " DISTINCT(YEAR(stamp)) AS year " +
0 commit comments