version

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Overview

Package version provides version and build information for the makemigrations CLI.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version represents the current morphic version
	// This variable is updated by bumpversion during releases or set via ldflags
	Version = "1.9.0"

	// BuildDate is set via ldflags during build
	BuildDate = "unknown"

	// GitCommit is set via ldflags during build
	GitCommit = "unknown"
)

Build information set by ldflags during compilation

Functions

func GetBuildInfo

func GetBuildInfo() map[string]string

GetBuildInfo returns build information

func GetDisplayVersion

func GetDisplayVersion() string

GetDisplayVersion returns the formatted version for display

func GetFullVersion

func GetFullVersion() string

GetFullVersion returns detailed version information

func GetVersion

func GetVersion() string

GetVersion returns the current version string

Types

This section is empty.

Jump to

Keyboard shortcuts

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