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

Remaining copypaste from gocket #114

Description

@h7x4

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)
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions