version.go
Rama main · réplica de lectura del repositorio original.
package fireactions
import "fmt"
var (
// Version is the version of the Fireactions.
Version = "0.0.0"
// Date is the date when the binary was built.
Date = "1970-01-01T00:00:00Z"
// Commit is the Git SHA of the commit that was built.
Commit = ""
)
// GetVersion returns a string representation of the Fireactions version.
func GetVersion() string {
return fmt.Sprintf("%s (Built on %s from Git SHA %s)\n", Version, Date, Commit)
}