From 7cd335cf3e0a2f7a1df167e7bcc28d696541a8cf Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 21 Jan 2016 14:53:08 +0100 Subject: cleaned up imports diff --git a/player/player.go b/player/player.go index eb0887a..6ee0317 100644 --- a/player/player.go +++ b/player/player.go @@ -26,12 +26,13 @@ package player import ( "fmt" - "github.com/spreadspace/go-gstreamer" "io/ioutil" "log" "os" "path" "time" + + "github.com/spreadspace/go-gstreamer" ) func init() { diff --git a/rddb/rddb.go b/rddb/rddb.go index 62be698..74cef83 100644 --- a/rddb/rddb.go +++ b/rddb/rddb.go @@ -27,9 +27,10 @@ package rddb import ( "database/sql" "fmt" - "github.com/ziutek/mymysql/godrv" "regexp" "strings" + + "github.com/ziutek/mymysql/godrv" ) var ( diff --git a/rhimport/core.go b/rhimport/core.go index 1ee8c45..9b9cd54 100644 --- a/rhimport/core.go +++ b/rhimport/core.go @@ -25,12 +25,13 @@ package rhimport import ( - "code.helsinki.at/rhrd-go/rddb" "fmt" - "github.com/andelf/go-curl" "io/ioutil" "log" "os" + + "code.helsinki.at/rhrd-go/rddb" + "github.com/andelf/go-curl" ) const ( diff --git a/rhimport/fetcher.go b/rhimport/fetcher.go index 2d99be4..cbcbc41 100644 --- a/rhimport/fetcher.go +++ b/rhimport/fetcher.go @@ -26,7 +26,6 @@ package rhimport import ( "fmt" - "github.com/andelf/go-curl" "io/ioutil" "mime" "net/http" @@ -37,6 +36,8 @@ import ( "strconv" "strings" "time" + + "github.com/andelf/go-curl" ) type FetcherCurlCBData struct { diff --git a/rhimport/importer.go b/rhimport/importer.go index 0702db4..8e58ff6 100644 --- a/rhimport/importer.go +++ b/rhimport/importer.go @@ -28,11 +28,12 @@ import ( "bufio" "bytes" "fmt" - "github.com/andelf/go-curl" "mime/multipart" "net/http" "os" "path" + + "github.com/andelf/go-curl" ) func (self *Result) fromRDWebResult(rdres *RDWebResult) { diff --git a/rhimport/session_store.go b/rhimport/session_store.go index 85ea4c7..f744f50 100644 --- a/rhimport/session_store.go +++ b/rhimport/session_store.go @@ -25,11 +25,12 @@ package rhimport import ( - "code.helsinki.at/rhrd-go/rddb" "crypto/rand" "encoding/base64" "fmt" "net/http" + + "code.helsinki.at/rhrd-go/rddb" ) type newSessionResponse struct { -- cgit v0.10.2