golang is not semicolon insensitive, otherwise you'd be able to write
if
{
// ...
}
else
{
// ...
}
but the compiler doesn't let you.