version

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package version provides version information for icaljson.

This package contains build-time version information including version number, build time, and Git commit hash. The version information is typically set during the build process using Go build flags.

Usage

fmt.Printf("Version: %s\n", version.Version)
fmt.Printf("Build info: %s\n", version.GetBuildInfo())

The GetBuildInfo function provides detailed build information including version, build time, Git commit, and Go version used for compilation.

Index

Constants

This section is empty.

Variables

View Source
var (
	// AppName is the name of the application
	AppName = "icaljson"

	// Version is the service version
	Version = "dev"
)

These variables should be set at compile time

Functions

This section is empty.

Types

type Stamp

type Stamp struct {
	InfoGoVersion  string
	InfoGoCompiler string
	InfoGOARCH     string
	InfoGOOS       string
	InfoBuildTime  string
	VCSRevision    string
}

func RetrieveStamp

func RetrieveStamp() *Stamp

Jump to

Keyboard shortcuts

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