1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-24 05:20:54 +00:00

Fix retry amount comment

This commit is contained in:
IamCathal 2020-08-06 16:09:06 +01:00
parent 1b4bb43df0
commit 63b3fc4a99

View File

@ -195,7 +195,7 @@ func (b *BeegoHTTPRequest) Debug(isdebug bool) *BeegoHTTPRequest {
} }
// Retries sets Retries times. // Retries sets Retries times.
// default is 0 (never retries) // default is 0 (never retry)
// -1 retry indefinitely (forever) // -1 retry indefinitely (forever)
// Other numbers specify the exact retry amount // Other numbers specify the exact retry amount
func (b *BeegoHTTPRequest) Retries(times int) *BeegoHTTPRequest { func (b *BeegoHTTPRequest) Retries(times int) *BeegoHTTPRequest {