소스 검색

add version

Dan Frank 13 년 전
부모
커밋
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