浏览代码

add version

Dan Frank 12 年之前
父节点
当前提交
fed86fae5c
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      hostpool.go

+ 5 - 0
hostpool.go

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