compilerhash

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// LinkedValue may be set at link time for release builds using -X.
	LinkedValue string
)

Functions

func Value

func Value() string

Value returns the compiler hash used for cache invalidation. Release builds leave it empty (unless preset via -X), while development builds hash the running executable's metadata.

Types

This section is empty.

Jump to

Keyboard shortcuts

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