1
0
mirror of https://github.com/beego/bee.git synced 2025-06-13 06:40:39 +00:00

print lastPushedTime & update readme.md

This commit is contained in:
wangle
2020-09-14 23:27:33 +08:00
parent 81ed06ea01
commit 7a7357a983
9 changed files with 230 additions and 110 deletions

View File

@ -38,7 +38,7 @@ const verboseVersionBanner string = `%s%s______
├── GOPATH : {{ .GOPATH }}
├── GOROOT : {{ .GOROOT }}
├── Compiler : {{ .Compiler }}
└── Date : {{ Now "Monday, 2 Jan 2006" }}%s
└── UpdatedAt : {{ .UpdatedAt }}%s
`
const shortVersionBanner = `______
@ -84,6 +84,7 @@ func versionCmd(cmd *commands.Command, args []string) int {
runtime.Compiler,
version,
GetBeegoVersion(),
utils.GetLastPushedTime(),
}
switch outputFormat {
case "json":