Has anyone got an idea if there is any inbuilt functionality in Go for converting from any one of the numeric types to its binary number form.
For example, if
See also the fmt package:
n := int64(123) fmt.Printf("%b", n) // 1111011