project

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package project exposes the build identifiers populated by the architect-orb `go-build` job at link time (gitSHA, buildTimestamp). It has no dependencies so it can be safely imported by `main` and any CLI command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTimestamp

func BuildTimestamp() string

BuildTimestamp returns the UTC build time in RFC 3339 format, or "unknown" when no ldflag was injected.

func GitSHA

func GitSHA() string

GitSHA returns the commit SHA the binary was built from.

func Version

func Version() string

Version returns the best human-readable build identifier available: the release tag if goreleaser injected one, otherwise the commit SHA if CI injected one, otherwise the placeholder "dev".

Types

This section is empty.

Jump to

Keyboard shortcuts

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