Files
obitools4/pkg/obioptions/version.go
Eric Coissac 985c91452a correction of bug and format in obisplit
Former-commit-id: d600713a5f48c8d682971be9b8a09a1c021be28c
2024-06-05 17:18:44 +02:00

20 lines
490 B
Go

package obioptions
import (
"fmt"
)
// TODO: The version number is extracted from git. This induces that the version
// corresponds to the last commit, and not the one when the file will be
// commited
var _Commit = "0e9a136"
var _Version = "Release 4.2.0"
// Version returns the version of the obitools package.
//
// No parameters.
// Returns a string representing the version of the obitools package.
func VersionString() string {
return fmt.Sprintf("%s (%s)", _Version, _Commit)
}