version

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package version holds build metadata, injected at build time via -ldflags.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"

	// DefaultWebhookURL is the relay used when PP_WEBHOOK is enabled but
	// PP_WEBHOOK_URL is not set. Always overridable via env.
	DefaultWebhookURL = "https://pullpilot-relay.jeffrey-clement.workers.dev"
)

These are overridden at build time with:

-X github.com/jclement/pullpilot/internal/version.Version=...

The DefaultWebhookURL is baked per build channel:

  • release builds default to the production relay
  • CI / edge builds override it to the test relay

Functions

func String

func String() string

String returns a human-readable version line.

Types

This section is empty.

Jump to

Keyboard shortcuts

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