golang import packages

It is not recommended to import line by line:

import "fmt"
import "log"
import "math/rand"
When importing more than one package, you can use the () to create a block. By using a block you can avoid repeating the import keyword on every line:
import (
  "fmt"
  "log"
  "math/rand"
)
This will make your code look cleaner