2024-06-01 17:26:16 +02:00
|
|
|
package obioptions
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
2024-06-04 11:57:16 +02:00
|
|
|
// 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
|
2024-08-01 17:22:46 +02:00
|
|
|
var _Commit = "776b8f7"
|
2024-07-31 23:16:45 +02:00
|
|
|
var _Version = ""
|
2024-06-01 17:26:16 +02:00
|
|
|
|
|
|
|
// 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)
|
|
|
|
}
|