Files
obitools4/pkg/obioptions/version.go
Eric Coissac 73996bb0b7 Small change in consensus weight
Former-commit-id: 58bcc67044b82e4e1d9e0e52be336ae02ab248e9
2024-06-19 09:11:59 +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 = "1cf2768"
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)
}