Documentation
¶
Overview ¶
Package version carries the product build version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
These values are overridden at build time. Release builds set all three:
go build -ldflags "\ -X github.com/ArasanDev/yt/internal/version.Version=v0.1.0 \ -X github.com/ArasanDev/yt/internal/version.Commit=$(git rev-parse --short HEAD) \ -X github.com/ArasanDev/yt/internal/version.Date=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \ ./cmd/yt
Version is the only value MCP clients see; keep it a plain version string.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.