Standard library / math
math.MaxUint
Architecture-dependent uint bound; example output is for 64-bit uint/int. Expected stdout: '18446744073709551615\n'.
Formal Syntax & Structure
go syntaxgo
const MaxUint = 1<<intSize - 1Working Example
Example Snippetgo
package main
import ( "fmt" "math")
func main() { fmt.Println(uint(math.MaxUint))}