version

package
v0.1.158 Latest Latest
Warning

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

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

Documentation

Overview

Package version exposes the current codefly build version and is the single source of truth used by both the CLI (--version) and the embedded agents.

At release time the version string is overwritten via -ldflags; in dev builds it falls back to a compiled-in default.

Index

Constants

View Source
const InfoConfigurationName = "info.codefly.yaml"

Variables

This section is empty.

Functions

func Version

func Version(ctx context.Context) (string, error)

Types

type Info

type Info struct {
	Version string `yaml:"version"`
}

Jump to

Keyboard shortcuts

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