Predeclared type

Go uint64 type

Unsigned 64-bit integer, range 0 to 18446744073709551615. Runtime arithmetic wraps modulo 2^64. Example output: '9223372036854775808'.

Formal Syntax & Structure

go syntaxgo
uint64

Working Example

Example Snippetgo
package main
import (  "fmt")
func main() {  var count uint64 = 1 << 63  fmt.Println(count)}
Go Reference