We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceb6b7e commit f1e00b6Copy full SHA for f1e00b6
cmd/init.go
@@ -2,7 +2,6 @@ package cmd
2
3
import (
4
"fmt"
5
- "runtime"
6
7
"book-web/version"
8
@@ -20,12 +19,10 @@ var rootCmd = &cobra.Command{
20
19
Short: "generate tools create full",
21
Run: func(cmd *cobra.Command, args []string) {
22
if v {
23
- fmt.Println(runtime.GOOS, runtime.GOARCH, runtime.Version())
24
fmt.Println(version.Platform)
25
fmt.Println(version.Version)
26
} else {
27
fmt.Println(App)
28
29
30
31
fmt.Printf(`Use "%v --help" for more information about this program.
0 commit comments