version

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the current version of jscan
	Version = "dev"

	// Commit is the git commit hash
	Commit = "unknown"

	// Date is the build date
	Date = "unknown"

	// BuiltBy indicates how the binary was built
	BuiltBy = "source"
)

Version information (set via ldflags during build)

Functions

func GetBuiltBy

func GetBuiltBy() string

GetBuiltBy returns how the binary was built

func GetCommit

func GetCommit() string

GetCommit returns the git commit hash

func GetDate

func GetDate() string

GetDate returns the build date

func GetFullVersion

func GetFullVersion() string

GetFullVersion returns the full version information

func GetVersion

func GetVersion() string

GetVersion returns the current version

func Short

func Short() string

Short returns a shortened version string (same as GetVersion for now)

Types

This section is empty.

Jump to

Keyboard shortcuts

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