diff --git a/pkg/version/version.go b/pkg/version/version.go new file mode 100644 index 0000000..3de6fec --- /dev/null +++ b/pkg/version/version.go @@ -0,0 +1,13 @@ +package version + +import "fmt" + +var ( + version string + commit string +) + +// String returns the version. +func String() string { + return fmt.Sprintf("%s-%s\n", version, commit) +}