Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitInfo ¶
type GitInfo struct { Tag string `json:"tag" description:"get tag name"` Version string `json:"version" description:"git repo version."` ReleaseAt string `json:"releaseAt" description:"latest commit date"` }
GitInfo app git info
{ "version": "@pkg_version", "tag": "@pkg_branch_alias_version", "releaseAt": "@pkg_release_date" }
type JsonData ¶
type JsonData struct { Code int `json:"code" example:"0" description:"return status code, 0 is successful."` Message string `json:"message" description:"return message"` Data interface{} `json:"data" description:"return data"` }
JsonData is api response body structure. HttpRes
type JsonListData ¶
type JsonListData struct { Code int `json:"code" description:"return code, 0 is successful."` Message string `json:"message" description:"return message"` Data []string `json:"data" description:"return data"` }
JsonListData only use for swagger docs
Click to show internal directories.
Click to hide internal directories.