\$\begingroup\$You can also do import ."fmt" and then Println and the rest of fmt's functions are in the global namespace. Also, you don't need semicolons. Ever, unless you have multiple statements on a line\$\endgroup\$
– catMar 16 '16 at 1:59

\$\begingroup\$Note that in Golang, braces must go on the same line, because of automatic semicolon insertion. More info: golang.org/doc/faq#semicolons.\$\endgroup\$
– catMar 22 '16 at 22:41

Your Answer

If this is an answer to a challenge…

…Be sure to follow the challenge specification. However, please refrain from exploiting obvious loopholes. Answers abusing any of the standard loopholes are considered invalid. If you think a specification is unclear or underspecified, comment on the question instead.

…Try to optimize your score. For instance, answers to code-golf challenges should attempt to be as short as possible. You can always include a readable version of the code in addition to the competitive one.
Explanations of your answer make it more interesting to read and are very much encouraged.

…Include a short header which indicates the language(s) of your code and its score, as defined by the challenge.

More generally…

…Please make sure to answer the question and provide sufficient detail.

…Avoid asking for help, clarification or responding to other answers (use comments instead).

Code Golf Stack Exchange is a site for recreational programming competitions, not general programming questions. Challenges must have an objective scoring criterion, and it is highly recommended to first post proposed challenges in the Sandbox.