Initial Commit

This commit is contained in:
James Mills
2019-03-09 22:41:59 +10:00
commit a42cd20ddf
26 changed files with 1706 additions and 0 deletions

18
version.go Normal file
View File

@@ -0,0 +1,18 @@
package bitcask
import (
"fmt"
)
var (
// Version release version
Version = "0.0.1"
// Commit will be overwritten automatically by the build system
Commit = "HEAD"
)
// FullVersion returns the full version and commit hash
func FullVersion() string {
return fmt.Sprintf("%s@%s", Version, Commit)
}