瀏覽代碼

add version

Dan Frank 12 年之前
父節點
當前提交
fed86fae5c
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      hostpool.go

+ 5 - 0
hostpool.go

@@ -9,6 +9,11 @@ import (
 	"time"
 )
 
+// Returns current version
+func Version() string {
+	return "0.1"
+}
+
 // --- Response interfaces and structs ----
 
 // This interface represents the response from HostPool. You can retrieve the