Documentation
¶
Index ¶
- func DeepEqualJSON(j1, j2 string) (bool, error)
- func FULLFUNC() string
- func FUNC() string
- func FileExists(filename string) bool
- func GetSortedKeys(m map[string]interface{}) []string
- func LINE() string
- func LocalExecute(cmd string) (string, error)
- func LocalExecutef(fs string, a ...interface{}) (string, error)
- func LocalExecutefJsonMarshal(obj interface{}, fs string, a ...interface{}) error
- func NewBoolPointer(b bool) *bool
- func NewCommandCompletion(rootCmd *cobra.Command) *cobra.Command
- func NewCommandVersion() *cobra.Command
- func NewInt64Pointer(v int64) *int64
- func NewStringPointer(v string) *string
- func NewUint64Pointer(v uint64) *uint64
- func SplitMultiSep(s string, sep []string) []string
- func VersionBuildDate() string
- func VersionGitBranch() string
- func VersionGitSHA() string
- func VersionGitTag() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepEqualJSON ¶
func FileExists ¶
func GetSortedKeys ¶ added in v0.0.3
func LocalExecute ¶ added in v0.0.3
func LocalExecutef ¶ added in v0.0.3
func LocalExecutefJsonMarshal ¶ added in v0.0.3
func NewBoolPointer ¶ added in v0.0.3
func NewCommandVersion ¶
func NewInt64Pointer ¶ added in v0.0.3
func NewStringPointer ¶ added in v0.0.3
func NewUint64Pointer ¶ added in v0.0.3
func SplitMultiSep ¶
func VersionBuildDate ¶
func VersionBuildDate() string
VersionBuildDate returns date when your binary is built
func VersionGitBranch ¶
func VersionGitBranch() string
VersionGitBranch returns current Git branch name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.