summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--player/player.go3
-rw-r--r--rddb/rddb.go3
-rw-r--r--rhimport/core.go5
-rw-r--r--rhimport/fetcher.go3
-rw-r--r--rhimport/importer.go3
-rw-r--r--rhimport/session_store.go3
6 files changed, 13 insertions, 7 deletions
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 {