implement cmd/version

Esse commit está contido em:
Felix Geisendörfer
2013-12-20 00:07:01 +01:00
commit 97971839f6
2 arquivos alterados com 15 adições e 0 exclusões
+12
Ver Arquivo
@@ -0,0 +1,12 @@
// Command version is a utility that prints the current godrone version and
// exits.
package main
import (
"fmt"
"github.com/felixge/godrone"
)
func main() {
fmt.Println(godrone.Version)
}
+3
Ver Arquivo
@@ -0,0 +1,3 @@
package godrone
const Version = "0.1"