forge

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package forge provides core types and constants for The Forge orchestrator.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Build   = "unknown"
)

Version and Build are set at build time via ldflags:

go build -ldflags "-X github.com/Robin831/Forge/internal/forge.Version=1.0.0
                    -X github.com/Robin831/Forge/internal/forge.Build=abc1234"

When Build is not set via ldflags (remains "unknown"), init() attempts to derive it from Go's VCS build info (runtime/debug.ReadBuildInfo). This requires the binary to be built from a VCS-enabled module (e.g. a git checkout with go build, not go run). A "-dirty" suffix is appended when the working tree was modified at build time.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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