Skip to content

Commit f1e00b6

Browse files
committed
version
1 parent ceb6b7e commit f1e00b6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/init.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package cmd
22

33
import (
44
"fmt"
5-
"runtime"
65

76
"book-web/version"
87

@@ -20,12 +19,10 @@ var rootCmd = &cobra.Command{
2019
Short: "generate tools create full",
2120
Run: func(cmd *cobra.Command, args []string) {
2221
if v {
23-
fmt.Println(runtime.GOOS, runtime.GOARCH, runtime.Version())
2422
fmt.Println(version.Platform)
2523
fmt.Println(version.Version)
2624
} else {
2725
fmt.Println(App)
28-
fmt.Println(runtime.GOOS, runtime.GOARCH, runtime.Version())
2926
fmt.Println(version.Platform)
3027
fmt.Println(version.Version)
3128
fmt.Printf(`Use "%v --help" for more information about this program.

0 commit comments

Comments
 (0)