Skip to content

Commit

Permalink
switch imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dennwc committed Jan 28, 2019
1 parent 00146f3 commit 4a0f90a
Show file tree
Hide file tree
Showing 21 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion adc/client/client2client.go
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"time"

"github.com/dennwc/go-dcpp/adc"
"github.com/direct-connect/go-dcpp/adc"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions adc/client/client2hub.go
Expand Up @@ -10,8 +10,8 @@ import (
"sync"
"time"

"github.com/dennwc/go-dcpp/adc"
"github.com/dennwc/go-dcpp/version"
"github.com/direct-connect/go-dcpp/adc"
"github.com/direct-connect/go-dcpp/version"
)

// DialHub connects to a hub and runs a handshake.
Expand Down
2 changes: 1 addition & 1 deletion adc/codec.go
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
"strings"

"github.com/dennwc/go-dcpp/tiger"
"github.com/direct-connect/go-dcpp/tiger"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions adc/codec_test.go
Expand Up @@ -4,8 +4,8 @@ import (
"reflect"
"testing"

"github.com/dennwc/go-dcpp/adc"
"github.com/dennwc/go-dcpp/adc/types"
"github.com/direct-connect/go-dcpp/adc"
"github.com/direct-connect/go-dcpp/adc/types"
)

var casesDecode = []struct {
Expand Down
4 changes: 2 additions & 2 deletions adc/packets_test.go
Expand Up @@ -5,8 +5,8 @@ import (
"reflect"
"testing"

. "github.com/dennwc/go-dcpp/adc"
"github.com/dennwc/go-dcpp/adc/types"
. "github.com/direct-connect/go-dcpp/adc"
"github.com/direct-connect/go-dcpp/adc/types"
)

var casesPackets = []struct {
Expand Down
4 changes: 2 additions & 2 deletions adc/types.go
@@ -1,8 +1,8 @@
package adc

import (
"github.com/dennwc/go-dcpp/adc/types"
"github.com/dennwc/go-dcpp/tiger"
"github.com/direct-connect/go-dcpp/adc/types"
"github.com/direct-connect/go-dcpp/tiger"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion adc/types/types.go
Expand Up @@ -5,7 +5,7 @@ import (
"encoding"
"fmt"

"github.com/dennwc/go-dcpp/tiger"
"github.com/direct-connect/go-dcpp/tiger"
)

const base32Enc = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"
Expand Down
2 changes: 1 addition & 1 deletion cmd/go-hub/main.go
Expand Up @@ -20,7 +20,7 @@ import (
"os"
"time"

"github.com/dennwc/go-dcpp/hub"
"github.com/direct-connect/go-dcpp/hub"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions filelist/filelist.go
Expand Up @@ -5,8 +5,8 @@ import (
"encoding/xml"
"io"

"github.com/dennwc/go-dcpp/adc/types"
"github.com/dennwc/go-dcpp/tiger"
"github.com/direct-connect/go-dcpp/adc/types"
"github.com/direct-connect/go-dcpp/tiger"
)

type Dir struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,4 +1,4 @@
module github.com/dennwc/go-dcpp
module github.com/direct-connect/go-dcpp

require (
github.com/go-irc/irc v2.1.0+incompatible
Expand Down
6 changes: 3 additions & 3 deletions hub/hub.go
Expand Up @@ -11,9 +11,9 @@ import (

"golang.org/x/net/http2"

"github.com/dennwc/go-dcpp/adc"
"github.com/dennwc/go-dcpp/adc/types"
"github.com/dennwc/go-dcpp/version"
"github.com/direct-connect/go-dcpp/adc"
"github.com/direct-connect/go-dcpp/adc/types"
"github.com/direct-connect/go-dcpp/version"
)

type Info struct {
Expand Down
4 changes: 2 additions & 2 deletions hub/hub_adc.go
Expand Up @@ -11,8 +11,8 @@ import (
"sync"
"time"

"github.com/dennwc/go-dcpp/adc"
"github.com/dennwc/go-dcpp/tiger"
"github.com/direct-connect/go-dcpp/adc"
"github.com/direct-connect/go-dcpp/tiger"
)

func (h *Hub) initADC() {
Expand Down
2 changes: 1 addition & 1 deletion hub/hub_irc.go
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/go-irc/irc"

"github.com/dennwc/go-dcpp/version"
"github.com/direct-connect/go-dcpp/version"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion hub/hub_nmdc.go
Expand Up @@ -9,7 +9,7 @@ import (
"sync"
"time"

"github.com/dennwc/go-dcpp/nmdc"
"github.com/direct-connect/go-dcpp/nmdc"
)

const nmdcFakeToken = "nmdc"
Expand Down
4 changes: 2 additions & 2 deletions nmdc/client/client2hub.go
Expand Up @@ -8,8 +8,8 @@ import (
"sync"
"time"

"github.com/dennwc/go-dcpp/nmdc"
"github.com/dennwc/go-dcpp/version"
"github.com/direct-connect/go-dcpp/nmdc"
"github.com/direct-connect/go-dcpp/version"
)

// DialHub connects to a hub and runs a handshake.
Expand Down
2 changes: 1 addition & 1 deletion nmdc/ping.go
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

"github.com/dennwc/go-dcpp/version"
"github.com/direct-connect/go-dcpp/version"
)

type Software struct {
Expand Down
2 changes: 1 addition & 1 deletion ping.go
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/dennwc/go-dcpp/nmdc"
"github.com/direct-connect/go-dcpp/nmdc"
)

// Ping fetches the information about the specified hub.
Expand Down
4 changes: 2 additions & 2 deletions probe.go
Expand Up @@ -9,8 +9,8 @@ import (
"strings"
"time"

"github.com/dennwc/go-dcpp/adc"
"github.com/dennwc/go-dcpp/nmdc"
"github.com/direct-connect/go-dcpp/adc"
"github.com/direct-connect/go-dcpp/nmdc"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions tiger/c-tiger/tiger_test.go
Expand Up @@ -4,8 +4,8 @@ import (
"bytes"
"testing"

tigerc "github.com/dennwc/go-dcpp/tiger/c-tiger"
tigerg "github.com/dennwc/go-dcpp/tiger/go-tiger"
tigerc "github.com/direct-connect/go-dcpp/tiger/c-tiger"
tigerg "github.com/direct-connect/go-dcpp/tiger/go-tiger"
)

func hashG(p []byte) (out tigerc.TH) {
Expand Down
2 changes: 1 addition & 1 deletion tiger/tiger.go
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"hash"

th "github.com/dennwc/go-dcpp/tiger/go-tiger"
th "github.com/direct-connect/go-dcpp/tiger/go-tiger"
)

// Returns a new hash.Hash that calculates the Tiger/192 hash digest.
Expand Down
2 changes: 1 addition & 1 deletion tiger/tth_test.go
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"testing"

"github.com/dennwc/go-dcpp/tiger"
"github.com/direct-connect/go-dcpp/tiger"
)

var tthCases = []struct {
Expand Down

0 comments on commit 4a0f90a

Please sign in to comment.