Solving Fizz Buzz in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.

Problem Description

Write a program that outputs the string representation of numbers from 1 to n.

Example:

n = 15,

Return:
[
    "1",
    "2",
    "Fizz",
    "4",
    "Buzz",
    "Fizz",
    "7",
    "8",
    "Fizz",
    "Buzz",
    "11",
    "Fizz",
    "13",
    "14",
    "FizzBuzz"
]

See the full details of the problem Fizz Buzz at LeetCode

Originally posted at: @github.com/halfrost/LeetCode-Go