The most common integer type in Go is int, and 90% of the time, it should be the one to use. There are some QoL issues with using uint: values show up as hex in the debugger, linter complains about overflows. A 64 bit unsigned int is overkill for a retry count that’s likely to be less than 10.