version

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package version holds the CLI version string.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the CLI version, reported by `demografix version` and sent in the User-Agent on every request. It defaults to "dev" and is overridden at build time with:

-ldflags "-X github.com/DemografixGenderize/demografix-cli/internal/version.Version=<tag>"

Functions

func UserAgent

func UserAgent() string

UserAgent is the value sent in the User-Agent header on every request, so CLI traffic is distinguishable from the SDKs and direct API calls in the logs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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