A classic FizzBuzz application written in Go. This application prints numbers 1 to 100 but with a twist.
Multiples of 3 are replaced with "Fizz"
Multiples of 5 are replaced with "Buzz"
Multiples of 15 are replaced with "FizzBuzz"
$ git clone git@github.com:LazySamir/fizzbuzz-go.git
$ cd fizzbuzz-go
Run the binary file:
$ ./fizzbuzz
Alternative, run the Go file:
$ go run fizzbuzz.go
$ go test