Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Remaining copypaste from gocket #114

Open
h7x4 opened this issue Oct 20, 2023 · 0 comments
Open

Remaining copypaste from gocket #114

h7x4 opened this issue Oct 20, 2023 · 0 comments

Comments

@h7x4
Copy link

h7x4 commented Oct 20, 2023

cmd/version seems to think that the current project is gocket. I believe the fix is just a simple rename

devdash/cmd/version.go

Lines 16 to 39 in e33bd83

func versionCmd() *cobra.Command {
versionCmd := &cobra.Command{
Use: "version",
Short: "Display gocket version",
Run: func(cmd *cobra.Command, args []string) {
fmt.Fprintln(os.Stdout, version())
},
}
return versionCmd
}
func version() string {
program := "gocket"
osArch := runtime.GOOS + "/" + runtime.GOARCH
date := buildDate
if date == "" {
date = "unknown"
}
return fmt.Sprintf("%s %s %s BuildDate=%s", program, current, osArch, date)
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant