Skip to content

Commit 2ce7329

Browse files
authored
Merge pull request #13 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
2 parents a3a6125 + 306d8d6 commit 2ce7329

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hostpool.go

Lines changed: 2 additions & 2 deletions
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)