Skip to content

Commit

Permalink
feat: add compiler to version cmd output
Browse files Browse the repository at this point in the history
  • Loading branch information
synackd committed Dec 31, 2024
1 parent 64ccade commit ca7625f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package cmd

import (
"fmt"
"runtime"

"github.com/OpenCHAMI/ochami/internal/version"
"github.com/spf13/cobra"
Expand All @@ -25,6 +26,7 @@ var versionCmd = &cobra.Command{
fmt.Printf("Git State: %s\n", version.GitState)
fmt.Printf("Date: %s\n", version.Date)
fmt.Printf("Go: %s\n", version.GoVersion)
fmt.Printf("Compiler: %s\n", runtime.Compiler)
fmt.Printf("Build Host: %s\n", version.BuildHost)
fmt.Printf("Build User: %s\n", version.BuildUser)
},
Expand Down

0 comments on commit ca7625f

Please sign in to comment.