Reorganize go imports

This commit is contained in:
Dan Sosedoff 2014-11-10 23:10:05 -06:00
parent 41cf9cf205
commit 028ef449dc
3 changed files with 8 additions and 5 deletions

3
api.go
View File

@ -3,9 +3,10 @@ package main
import ( import (
"errors" "errors"
"fmt" "fmt"
"github.com/gin-gonic/gin"
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/gin-gonic/gin"
) )
type Error struct { type Error struct {

View File

@ -4,8 +4,9 @@ import (
"bytes" "bytes"
"encoding/csv" "encoding/csv"
"fmt" "fmt"
"github.com/jmoiron/sqlx"
"reflect" "reflect"
"github.com/jmoiron/sqlx"
) )
type Client struct { type Client struct {

View File

@ -2,13 +2,14 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gin-gonic/gin"
"github.com/jessevdk/go-flags"
_ "github.com/lib/pq"
"os" "os"
"os/exec" "os/exec"
"os/signal" "os/signal"
"strings" "strings"
"github.com/gin-gonic/gin"
"github.com/jessevdk/go-flags"
_ "github.com/lib/pq"
) )
const VERSION = "0.3.1" const VERSION = "0.3.1"