Mercurial > yakumo_izuru > aya
view version.go @ 89:744541fee713 draft
Ayaya, why did I do that again?
author | yakumo.izuru |
---|---|
date | Sun, 04 May 2025 02:19:10 +0000 |
parents | 64cd79d367b5 |
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) }