// Package docs GENERATED BY SWAG; DO NOT EDIT // This file was generated by swaggo/swag package docs import "github.com/swaggo/swag" const docTemplate = `{ "schemes": {{ marshal .Schemes }}, "swagger": "2.0", "info": { "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": {}, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/factory/add": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "脖环出厂登记" ], "summary": "脖环出厂登记添加", "parameters": [ { "description": "Add account", "name": "account", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.AddFactoryReq" } } ], "responses": {} } }, "/factory/list": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "脖环出厂登记" ], "summary": "脖环出厂登记查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "string", "description": "string 批次", "name": "batch", "in": "path", "required": true }, { "type": "integer", "description": "string 0 购买,1 置换 -1 全部", "name": "genre", "in": "path", "required": true }, { "type": "string", "description": "string 数量", "name": "startcount", "in": "path", "required": true }, { "type": "string", "description": "string 数量", "name": "endcount", "in": "path", "required": true }, { "type": "string", "description": "string 登记人", "name": "createname", "in": "path", "required": true }, { "type": "string", "description": "string 登记时间", "name": "startdate", "in": "path", "required": true }, { "type": "string", "description": "string 登记时间", "name": "enddate", "in": "path", "required": true }, { "type": "integer", "description": "string 查看关联出厂批次", "name": "recallid", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetFactoryRes" } } } } }, "/housephy/image": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "接收器管理" ], "summary": "上传接收器图片", "parameters": [ { "type": "integer", "description": "int ", "name": "id", "in": "path", "required": true } ], "responses": {} } }, "/image": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "接收器管理" ], "summary": "接收器图片查看", "parameters": [ { "type": "integer", "description": "int ", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetBarListRes" } } } } }, "/management/add": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "脖环管理" ], "summary": "脖环管理导入", "responses": {} } }, "/management/list": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "脖环管理" ], "summary": "脖环管理查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "string", "description": "string 脖环编码", "name": "code", "in": "path", "required": true }, { "type": "string", "description": "string 脖环状态", "name": "status", "in": "path", "required": true }, { "type": "string", "description": "string 牧场id", "name": "pastureid", "in": "path", "required": true }, { "type": "integer", "description": "int64 0 售卖,1 返厂 2 置换 -1 全部", "name": "genre", "in": "path", "required": true }, { "type": "string", "description": "string 导入开始时间", "name": "startdate", "in": "path", "required": true }, { "type": "string", "description": "string 导入结束时间", "name": "enddate", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetManagementRes" } } } } }, "/managementbh/list": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "脖环管理" ], "summary": "脖环管理明细查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "managementid", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetManagementBhRes" } } } } }, "/public/bar": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公共接口" ], "summary": "栏舍查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "string", "description": "string 栏舍名称", "name": "barname", "in": "path", "required": true }, { "type": "string", "description": "string 牧场编码", "name": "pastureid", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetBarListRes" } } } } }, "/public/housephy": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公共接口" ], "summary": "物理栏舍查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "string", "description": "string ", "name": "pastureid", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetBarListRes" } } } } }, "/public/pasture": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公共接口" ], "summary": "牧场信息查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetPastureListRes" } } } } }, "/recall/add": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "脖环召回计划" ], "summary": "脖环召回计划添加", "parameters": [ { "description": "Add account", "name": "account", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.AddRecallReq" } } ], "responses": {} } }, "/recall/list": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "脖环召回计划" ], "summary": "脖环召回查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "string", "description": "string 批次", "name": "batch", "in": "path", "required": true }, { "type": "string", "description": "string 数量", "name": "startcount", "in": "path", "required": true }, { "type": "string", "description": "string 数量", "name": "endcount", "in": "path", "required": true }, { "type": "string", "description": "string 登记人", "name": "createname", "in": "path", "required": true }, { "type": "string", "description": "string 登记时间", "name": "startdate", "in": "path", "required": true }, { "type": "string", "description": "string 登记时间", "name": "enddate", "in": "path", "required": true }, { "type": "integer", "description": "string 查看召回批次", "name": "factoryid", "in": "path", "required": true }, { "type": "integer", "description": "string 置换时查看传 1", "name": "replacement", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetRecallRes" } } } } }, "/receiver/add": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "接收器管理" ], "summary": "添加接收器", "parameters": [ { "description": "Add account", "name": "account", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.AddReceiverReq" } } ], "responses": {} } }, "/receiver/coordinates": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "接收器管理" ], "summary": "接收器位置信息", "parameters": [ { "type": "integer", "description": "string 栏舍", "name": "barid", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetReceiverRes" } } } } }, "/receiver/coordinates/edit": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "接收器管理" ], "summary": "编辑接收器坐标", "parameters": [ { "description": "Add account", "name": "account", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.EditReceiverCoordinatesReq" } } ], "responses": {} } }, "/receiver/edit": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "接收器管理" ], "summary": "编辑接收器", "parameters": [ { "description": "Add account", "name": "account", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.EditReceiverReq" } } ], "responses": {} } }, "/receiver/list": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "接收器管理" ], "summary": "接收器管理查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "string", "description": "string 接收器编码", "name": "code", "in": "path", "required": true }, { "type": "integer", "description": "string 状态", "name": "status", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetReceiverRes" } } } } }, "/receiver/pull": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公共接口" ], "summary": "接口器下拉", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetReceiverRes" } } } } }, "/ring/listing": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "脖环清单" ], "summary": "脖环清单查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "string", "description": "string 脖环编码", "name": "code", "in": "path", "required": true }, { "type": "string", "description": "string 脖环状态", "name": "status", "in": "path", "required": true }, { "type": "integer", "description": "int 牛号", "name": "cattle", "in": "path", "required": true }, { "type": "string", "description": "string 栏舍名称", "name": "barname", "in": "path", "required": true }, { "type": "string", "description": "string 购入开始日期", "name": "purchasestart", "in": "path", "required": true }, { "type": "string", "description": "string 购入结束日期", "name": "purchaseend", "in": "path", "required": true }, { "type": "string", "description": "string 生产开始日期", "name": "manufacturestart", "in": "path", "required": true }, { "type": "string", "description": "string 生产结束日期", "name": "manufactureend", "in": "path", "required": true }, { "type": "string", "description": "string 出厂数量", "name": "factoryid", "in": "path", "required": true }, { "type": "string", "description": "string 召回", "name": "recallid", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetNeckRingListingRes" } } } } }, "/sim/add": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SIM卡管理" ], "summary": "SIM卡添加", "parameters": [ { "description": "Add account", "name": "account", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.AddSimReq" } } ], "responses": {} } }, "/sim/edit": { "post": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SIM卡管理" ], "summary": "SIM卡修改", "parameters": [ { "description": "Add account", "name": "account", "in": "body", "required": true, "schema": { "$ref": "#/definitions/v1.EditSimReq" } } ], "responses": {} } }, "/sim/list": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "SIM卡管理" ], "summary": "SIM卡查看", "parameters": [ { "type": "integer", "description": "int ", "name": "index", "in": "path", "required": true }, { "type": "integer", "description": "int ", "name": "pagesize", "in": "path", "required": true }, { "type": "string", "description": "string sim卡号", "name": "card", "in": "path", "required": true }, { "type": "string", "description": "string 公司", "name": "company", "in": "path", "required": true }, { "type": "integer", "description": "string 状态", "name": "status", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetSimRes" } } } } }, "/sim/pull": { "get": { "description": "add by json account", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "公共接口" ], "summary": "SIM卡下拉", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/v1.GetSimPullRes" } } } } } }, "definitions": { "v1.AddFactoryReq": { "type": "object", "properties": { "count": { "type": "integer" }, "genre": { "description": "0 购买,1 置换", "type": "integer" }, "pastureid": { "type": "string" }, "recall": { "description": "关联召回批次数", "type": "integer" }, "recallid": { "description": "召回id", "type": "array", "items": { "type": "integer" } } } }, "v1.AddRecallReq": { "type": "object", "properties": { "count": { "type": "integer" }, "factoryid": { "description": "召回id", "type": "array", "items": { "type": "integer" } }, "pastureid": { "type": "string" } } }, "v1.AddReceiverReq": { "type": "object", "properties": { "barId": { "description": "栏舍id", "type": "string" }, "card": { "description": "UpdateDate time.Time ` + "`" + `json:\"updateDate\"` + "`" + ` //最后修改时间", "type": "string" }, "code": { "description": "接收器编码", "type": "string" }, "location": { "description": "安装位置", "type": "string" }, "pastureid": { "description": "牧场id", "type": "string" }, "pasturename": { "description": "牧场名称", "type": "string" }, "simid": { "description": "BarName string ` + "`" + `json:\"barname\"` + "`" + ` //栏舍名称", "type": "integer" }, "status": { "description": "脖环状态", "type": "integer" } } }, "v1.AddSimReq": { "type": "object", "properties": { "activatedate": { "description": "激活日期", "type": "string" }, "card": { "description": "Id int64 ` + "`" + `json:\"id\"` + "`" + `", "type": "string" }, "company": { "description": "公司", "type": "string" }, "enddate": { "description": "充值日期", "type": "string" }, "pastureid": { "description": "牧场id", "type": "string" }, "purchasedate": { "description": "购入日期", "type": "string" }, "receiverid": { "description": "接收器id", "type": "integer" }, "remaining": { "description": "剩余流量", "type": "string" }, "status": { "description": "状态", "type": "integer" }, "topupdate": { "description": "充值日期", "type": "string" }, "totalflow": { "description": "总流量", "type": "string" }, "used": { "description": "已用流量", "type": "string" } } }, "v1.BarList": { "type": "object", "properties": { "bcode": { "description": "栏舍编码", "type": "string" }, "bname": { "description": "栏舍名称", "type": "string" }, "id": { "type": "string" }, "pastureid": { "type": "string" } } }, "v1.CoordinatesInfo": { "type": "object", "properties": { "barid": { "description": "栏舍id", "type": "string" }, "enable": { "description": "脖环状态", "type": "integer" }, "id": { "type": "integer" }, "left": { "type": "string" }, "pastureid": { "description": "牧场id", "type": "string" }, "style": { "$ref": "#/definitions/v1.Style" }, "top": { "type": "string" } } }, "v1.EditReceiverCoordinatesReq": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.CoordinatesInfo" } } } }, "v1.EditReceiverReq": { "type": "object", "properties": { "barid": { "description": "栏舍id", "type": "string" }, "card": { "description": "卡号", "type": "string" }, "code": { "description": "接收器编码", "type": "string" }, "id": { "type": "integer" }, "location": { "description": "安装位置", "type": "string" }, "pastureid": { "description": "牧场id", "type": "string" }, "pasturename": { "description": "牧场名称", "type": "string" }, "simId": { "description": "BarName string ` + "`" + `json:\"barname\"` + "`" + ` //栏舍名称", "type": "integer" }, "status": { "description": "脖环状态", "type": "integer" } } }, "v1.EditSimReq": { "type": "object", "properties": { "activatedate": { "description": "激活日期", "type": "string" }, "card": { "description": "sim卡号", "type": "string" }, "company": { "description": "公司", "type": "string" }, "enddate": { "description": "结束日期", "type": "string" }, "id": { "type": "integer" }, "pastureid": { "description": "牧场id", "type": "string" }, "purchasedate": { "description": "购入日期", "type": "string" }, "receiverid": { "description": "接收器id", "type": "integer" }, "remaining": { "description": "剩余流量", "type": "string" }, "status": { "description": "状态", "type": "integer" }, "topupdate": { "description": "充值日期", "type": "string" }, "totalflow": { "description": "总流量", "type": "string" }, "used": { "description": "已用流量", "type": "string" } } }, "v1.Factory": { "type": "object", "properties": { "batch": { "description": "出厂批次", "type": "string" }, "count": { "description": "出厂数量", "type": "integer" }, "createname": { "description": "登记人", "type": "string" }, "createtime": { "description": "登记时间", "type": "string" }, "genre": { "description": "0 购买,1 置换", "type": "integer" }, "id": { "type": "integer" }, "pastureid": { "description": "牧场id", "type": "string" }, "pasturename": { "description": "牧场名称", "type": "string" }, "recall": { "description": "关联召回批次数", "type": "integer" } } }, "v1.GetBarListRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.BarList" } }, "total": { "type": "integer" } } }, "v1.GetFactoryRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.Factory" } }, "total": { "type": "integer" } } }, "v1.GetManagementBhRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.ManagementBh" } }, "total": { "type": "integer" } } }, "v1.GetManagementRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.Management" } }, "total": { "type": "integer" } } }, "v1.GetNeckRingListingRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.NeckRingListing" } }, "total": { "type": "integer" } } }, "v1.GetPastureListRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.PastureList" } }, "total": { "type": "integer" } } }, "v1.GetRecallRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.Recall" } }, "total": { "type": "integer" } } }, "v1.GetReceiverRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.Receiver" } }, "total": { "type": "integer" } } }, "v1.GetSimPullRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.SimPull" } } } }, "v1.GetSimRes": { "type": "object", "properties": { "list": { "type": "array", "items": { "$ref": "#/definitions/v1.Sim" } }, "total": { "type": "integer" } } }, "v1.Management": { "type": "object", "properties": { "count": { "description": "出厂数量", "type": "integer" }, "genre": { "description": "0 售卖,1 返厂 2 置换", "type": "integer" }, "id": { "type": "integer" }, "importdate": { "description": "导入时间", "type": "string" }, "pastureid": { "description": "牧场id", "type": "string" }, "pasturename": { "description": "牧场id", "type": "string" }, "recall": { "description": "关联召回批次数", "type": "integer" } } }, "v1.ManagementBh": { "type": "object", "properties": { "code": { "description": "脖环编码", "type": "string" }, "date": { "description": "日期", "type": "string" }, "managementid": { "description": "脖环管理ID", "type": "integer" } } }, "v1.NeckRingListing": { "type": "object", "properties": { "barid": { "description": "栏舍id", "type": "integer" }, "barname": { "description": "栏舍名称", "type": "string" }, "batch": { "description": "批次", "type": "string" }, "cattle": { "description": "牛号", "type": "string" }, "code": { "description": "脖环编码", "type": "integer" }, "id": { "type": "integer" }, "manufacturedate": { "description": "生产日期", "type": "string" }, "name": { "description": "脖环名称", "type": "string" }, "purchasedate": { "description": "购入日期", "type": "string" }, "status": { "description": "脖环状态", "type": "integer" } } }, "v1.PastureList": { "type": "object", "properties": { "pasturecode": { "type": "string" }, "pastureid": { "type": "string" }, "pasturename": { "type": "string" } } }, "v1.Recall": { "type": "object", "properties": { "batch": { "description": "出厂批次", "type": "string" }, "count": { "description": "出厂数量", "type": "integer" }, "createname": { "description": "登记人", "type": "string" }, "createtime": { "description": "登记时间", "type": "string" }, "id": { "type": "integer" }, "pastureid": { "description": "牧场id", "type": "string" }, "pasturename": { "description": "牧场名称", "type": "string" }, "recall": { "description": "关联召回批次数", "type": "integer" } } }, "v1.Receiver": { "type": "object", "properties": { "barid": { "description": "栏舍id", "type": "string" }, "barname": { "description": "栏舍名称", "type": "string" }, "card": { "description": "sim编码 卡号", "type": "string" }, "code": { "description": "接收器编码", "type": "string" }, "id": { "type": "integer" }, "image": { "description": "图片地址", "type": "string" }, "location": { "description": "安装位置 设备位置(1:奶厅1,2:奶厅2)", "type": "string" }, "pasturecode": { "description": "牧场编码", "type": "string" }, "pastureid": { "description": "牧场id", "type": "string" }, "pasturename": { "description": "牧场名称", "type": "string" }, "receiverid": { "type": "integer" }, "simid": { "description": "栏舍id", "type": "integer" }, "status": { "description": "脖环状态", "type": "integer" }, "style": { "$ref": "#/definitions/v1.Style" }, "updatedate": { "description": "最后修改时间", "type": "string" } } }, "v1.Sim": { "type": "object", "properties": { "activatedate": { "description": "激活日期", "type": "string" }, "barid": { "description": "栏舍id", "type": "string" }, "barname": { "description": "栏舍名称", "type": "string" }, "card": { "description": "sim卡号", "type": "string" }, "company": { "description": "公司", "type": "string" }, "enddate": { "description": "充值日期", "type": "string" }, "id": { "type": "integer" }, "pasturecode": { "description": "牧场编码", "type": "string" }, "pastureid": { "description": "牧场id", "type": "string" }, "pasturename": { "description": "牧场名称", "type": "string" }, "purchasedate": { "description": "购入日期", "type": "string" }, "receivercode": { "description": "接收器编码", "type": "string" }, "receiverid": { "description": "接收器id", "type": "integer" }, "remaining": { "description": "剩余流量", "type": "string" }, "status": { "description": "状态", "type": "integer" }, "topupdate": { "description": "充值日期", "type": "string" }, "totalflow": { "description": "总流量", "type": "string" }, "used": { "description": "已用流量", "type": "string" } } }, "v1.SimPull": { "type": "object", "properties": { "card": { "description": "sim卡号", "type": "string" }, "id": { "type": "integer" } } }, "v1.Style": { "type": "object", "properties": { "left": { "type": "string" }, "top": { "type": "string" } } } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "", Host: "", BasePath: "", Schemes: []string{}, Title: "", Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }