buildinfo

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package buildinfo holds build metadata stamped into the fullsend CLI at link time via -ldflags -X. It is a dependency-free leaf package so any internal package can read the version without importing internal/cli (which would pull in cobra and every subcommand, or create an import cycle).

Build sites stamp it with:

-X github.com/fullsend-ai/fullsend/internal/buildinfo.version=<version>
-X github.com/fullsend-ai/fullsend/internal/buildinfo.commitSHA=<sha>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitSHA

func CommitSHA() string

CommitSHA returns the git commit SHA set at build time, or "dev".

func Version

func Version() string

Version returns the CLI version string set at build time, or "dev".

Types

This section is empty.

Jump to

Keyboard shortcuts

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