utils

package
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version will be set by GoReleaser during builds

Functions

func GetVersion

func GetVersion() string

GetVersion returns the current version of the application. If version is not set via ldflags, it will try to get it from Go's build info. If that fails, it returns "unknown". The version string will have any leading "v" prefix removed.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL