Mercurial > yakumo_izuru > aya
view version.go @ 90:82986500ae71 draft default tip
Update repository URLs
author | yakumo.izuru |
---|---|
date | Thu, 15 May 2025 01:25:32 +0000 |
parents | 744541fee713 |
children |
line wrap: on
line source
// This is used for setting build-time variables package aya import ( "fmt" ) var ( // Variables set at build-time Date string Vendor string Version string ) // PrintVersion only displays the obvious func PrintVersion() string { return fmt.Sprintf("%s", Version) } // PrintFullVersion display the full version and build func PrintFullVersion() string { return fmt.Sprintf("%s, built at %s, on %s", Version, Date, Vendor) }