Skip to content

Instantly share code, notes, and snippets.

@alloy-d
Created January 20, 2015 20:27
Show Gist options
  • Select an option

  • Save alloy-d/fdf0fcd4a69aa8d3f0f4 to your computer and use it in GitHub Desktop.

Select an option

Save alloy-d/fdf0fcd4a69aa8d3f0f4 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"math"
)
func main() {
str := fmt.Sprintf("%v", math.MaxUint64)
fmt.Printf("MaxUint64 is %v.\n", math.MaxUint64)
fmt.Printf("It is %d characters long.\n", len(str))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment