summaryrefslogtreecommitdiff
path: root/gcd.go
AgeCommit message (Collapse)AuthorFilesLines
2012-03-30gcd.go: drop unused commentsIvan Krasin1-6/+0
2012-03-30gcd.go: skip os.Args[0] which is the path to the binaryIvan Krasin1-2/+2
2012-03-30Use the power of Go for loopIvan Krasin1-2/+2
2012-03-30Don't use flag package, because in this case we only want raw arguments. Use ↵Ivan Krasin1-14/+10
os.Args instead. Make use of append()
2012-03-30Make the program more idiomatic to Go (pass 1)Ivan Krasin1-6/+7
2012-03-30Update build instructions, because Go 1 does not expose 6g / 8g / etc tools ↵Ivan Krasin1-4/+5
and has the unified Go command
2012-03-30gcd.go: update to Go1. Use uint64 instead of uint, because strconv.ParseUint ↵Ivan Krasin1-5/+5
returns uint64, and there's no reason to artificially limit the tool to uint (which is now 32 bits)
2012-03-30gcd.go: go fmtIvan Krasin1-30/+29
2011-07-236g and 8g differenceIgor Pashev1-1/+1
2011-07-23TypoIgor Pashev1-1/+1
2011-07-23Added Go, tested with 6g and GCC 4.6.1Igor Pashev1-0/+61