format using goimports instead of gofmt

master
Sina Siadat 8 years ago
parent d24721db6b
commit 141dcdd17f

@ -3,10 +3,6 @@ package main
import (
"database/sql"
"fmt"
"github.com/andrew-d/go-termutil"
"github.com/mattn/go-colorable"
"github.com/mgutz/ansi"
"gopkg.in/fsnotify.v1"
"io/ioutil"
"log"
"os"
@ -16,6 +12,11 @@ import (
"strings"
"text/tabwriter"
"time"
"github.com/andrew-d/go-termutil"
"github.com/mattn/go-colorable"
"github.com/mgutz/ansi"
"gopkg.in/fsnotify.v1"
)
var out = colorable.NewColorableStdout()

@ -4,7 +4,6 @@ import (
"bufio"
"database/sql"
"fmt"
_ "github.com/mattn/go-sqlite3"
"io"
"io/ioutil"
"log"
@ -14,6 +13,8 @@ import (
"path/filepath"
"strings"
"text/tabwriter"
_ "github.com/mattn/go-sqlite3"
)
// var globalDB *sql.DB

@ -4,14 +4,15 @@ import (
"bufio"
"database/sql"
"fmt"
"github.com/docopt/docopt-go"
_ "github.com/mattn/go-sqlite3"
"log"
"math/rand"
"os"
"path/filepath"
"strconv"
"text/tabwriter"
"github.com/docopt/docopt-go"
_ "github.com/mattn/go-sqlite3"
)
var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")

Loading…
Cancel
Save