1
0
mirror of https://github.com/beego/bee.git synced 2025-06-25 22:30:19 +00:00

Update vendor folder (support for Delve RPC)

This commit is contained in:
Faissal Elamraoui
2017-03-21 15:34:11 +01:00
parent 427541fcd9
commit ad641afb34
6 changed files with 1087 additions and 0 deletions

View File

@ -0,0 +1,25 @@
package version
import "fmt"
// Version represents the current version of Delve.
type Version struct {
Major string
Minor string
Patch string
Metadata string
Build string
}
var (
// DelveVersion is the current version of Delve.
DelveVersion = Version{Major: "0", Minor: "12", Patch: "1", Metadata: ""}
)
func (v Version) String() string {
ver := fmt.Sprintf("Version: %s.%s.%s", v.Major, v.Minor, v.Patch)
if v.Metadata != "" {
ver += "-" + v.Metadata
}
return fmt.Sprintf("%s\nBuild: %s", ver, v.Build)
}