Skip to content

Commit

Permalink
refactor: build-time application values
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisq committed Nov 25, 2020
1 parent 87db8a7 commit bde0c5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
6 changes: 6 additions & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ import (
cli "github.com/joseluisq/cline"
)

// Build-time application values
var (
versionNumber string = "devel"
buildTime string
)

// Environment defines JSON/XML data structure
type Environment struct {
Env []struct {
Expand Down
20 changes: 0 additions & 20 deletions cmd/version.go

This file was deleted.

0 comments on commit bde0c5e

Please sign in to comment.