Skip to content

Commit 306d8d6

Browse files
committed
Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <[email protected]>
1 parent a3a6125 commit 306d8d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hostpool.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"time"
1010
)
1111

12-
// Returns current version
12+
// Version returns current version
1313
func Version() string {
1414
return "0.1"
1515
}
@@ -110,7 +110,7 @@ func doMark(err error, r HostPoolResponse) {
110110
}
111111
}
112112

113-
// return an entry from the HostPool
113+
// Get returns an entry from the HostPool
114114
func (p *standardHostPool) Get() HostPoolResponse {
115115
p.Lock()
116116
defer p.Unlock()

0 commit comments

Comments
 (0)