diff options
Diffstat (limited to 'rhimport')
-rw-r--r-- | rhimport/core.go | 5 | ||||
-rw-r--r-- | rhimport/fetcher.go | 3 | ||||
-rw-r--r-- | rhimport/importer.go | 3 | ||||
-rw-r--r-- | rhimport/session_store.go | 3 |
4 files changed, 9 insertions, 5 deletions
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 { |