gofmt the project files (#205)

This commit is contained in:
Fei Xu
2018-05-19 07:13:34 +08:00
committed by Robbie Zhang
parent 2ac4136e0c
commit 50ffc04ab2

View File

@@ -17,15 +17,15 @@ package cmd
import ( import (
"fmt" "fmt"
"github.com/virtual-kubelet/virtual-kubelet/version"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/virtual-kubelet/virtual-kubelet/version"
) )
// versionCmd represents the version command // versionCmd represents the version command
var versionCmd = &cobra.Command{ var versionCmd = &cobra.Command{
Use: "version", Use: "version",
Short: "Show the version of the program", Short: "Show the version of the program",
Long: `Show the version of the program`, Long: `Show the version of the program`,
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {
fmt.Printf("Version: %s, Built: %s", version.Version, version.BuildTime) fmt.Printf("Version: %s, Built: %s", version.Version, version.BuildTime)
}, },