diff --git a/go/DEVELOPER.md b/go/DEVELOPER.md index 9b6601e8f8..f2050aca1b 100644 --- a/go/DEVELOPER.md +++ b/go/DEVELOPER.md @@ -164,6 +164,7 @@ Development on the Go wrapper may involve changes in either the Go or Rust code. **Go:** +- go vet - gofumpt - staticcheck - golines diff --git a/go/api/config.go b/go/api/config.go index 7f9e19197f..70bda66d88 100644 --- a/go/api/config.go +++ b/go/api/config.go @@ -111,8 +111,11 @@ func mapReadFrom(readFrom ReadFrom) protobuf.ReadFrom { } // BackoffStrategy represents the strategy used to determine how and when to reconnect, in case of connection failures. The -// time between attempts grows exponentially, to the formula rand(0 ... factor * (exponentBase ^ N)), where N is the number of -// failed attempts. +// time between attempts grows exponentially, to the formula: +// +// rand(0 ... factor * (exponentBase ^ N)) +// +// where N is the number of failed attempts. // // Once the maximum value is reached, that will remain the time between retry attempts until a reconnect attempt is successful. // The client will attempt to reconnect indefinitely.