#CodeReviewComments# imports standard library in the first group

This commit is contained in:
kenshinx 2015-02-10 17:00:59 +08:00
parent e145ef8873
commit 5cc38b6668
4 changed files with 9 additions and 5 deletions

View File

@ -4,10 +4,11 @@ import (
"crypto/md5" "crypto/md5"
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/hoisie/redis"
"github.com/miekg/dns"
"sync" "sync"
"time" "time"
"github.com/hoisie/redis"
"github.com/miekg/dns"
) )
type KeyNotFound struct { type KeyNotFound struct {

View File

@ -2,9 +2,10 @@ package main
import ( import (
"fmt" "fmt"
"github.com/miekg/dns"
"strings" "strings"
"time" "time"
"github.com/miekg/dns"
) )
type ResolvError struct { type ResolvError struct {

View File

@ -1,9 +1,10 @@
package main package main
import ( import (
"github.com/miekg/dns"
"strconv" "strconv"
"time" "time"
"github.com/miekg/dns"
) )
type Server struct { type Server struct {

View File

@ -3,9 +3,10 @@ package main
import ( import (
"flag" "flag"
"fmt" "fmt"
"github.com/BurntSushi/toml"
"os" "os"
"strconv" "strconv"
"github.com/BurntSushi/toml"
) )
var ( var (