golang max int value code example

Example: go max, maximum integer value

const MAXINT = int(^uint(0) >> 1)   // maximum value for an integer

Tags:

Go Example