Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildResponse ¶
type BuildResponse struct { Version string `json:"version"` Commit string `json:"commit"` BuiltAt string `json:"built_at"` BuiltBy string `json:"built_by"` }
BuildResponse is a JSON response with the current version of the bot or extension
func Build ¶
func Build() BuildResponse
Build returns the build information provided by ldflags at build time as a response struct