Fix up import paths

This commit is contained in:
eyedeekay
2024-11-09 11:54:54 -05:00
parent a745742ee1
commit 25751504b9
11 changed files with 15 additions and 15 deletions

View File

@ -4,12 +4,12 @@ import (
"net" "net"
"time" "time"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
/* /*
import ( import (
. "github.com/eyedeekay/i2pkeys" . "github.com/go-i2p/i2pkeys"
) )
*/ */
// Implements net.Conn // Implements net.Conn

View File

@ -8,7 +8,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
// I2PConfig is a struct which manages I2P configuration options // I2PConfig is a struct which manages I2P configuration options

View File

@ -8,7 +8,7 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
// The DatagramSession implements net.PacketConn. It works almost like ordinary // The DatagramSession implements net.PacketConn. It works almost like ordinary

View File

@ -6,11 +6,11 @@ import (
"net" "net"
"os" "os"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
"github.com/eyedeekay/sam3" "github.com/go-i2p/sam3"
) )
// HEY! If you're looking at this, there's a good chance that `github.com/eyedeekay/onramp` // HEY! If you're looking at this, there's a good chance that `github.com/go-i2p/onramp`
// is a better fit! Check it out. // is a better fit! Check it out.
func NetListener(name, samaddr, keyspath string) (net.Listener, error) { func NetListener(name, samaddr, keyspath string) (net.Listener, error) {

View File

@ -10,7 +10,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
const ( const (

2
raw.go
View File

@ -8,7 +8,7 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
// The RawSession provides no authentication of senders, and there is no sender // The RawSession provides no authentication of senders, and there is no sender

View File

@ -6,7 +6,7 @@ import (
"errors" "errors"
"strings" "strings"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
type SAMResolver struct { type SAMResolver struct {

View File

@ -13,9 +13,9 @@ import (
"os" "os"
"strings" "strings"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
. "github.com/eyedeekay/i2pkeys" . "github.com/go-i2p/i2pkeys"
) )
func init() { func init() {

View File

@ -11,7 +11,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
// Represents a streaming session. // Represents a streaming session.

View File

@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
type StreamListener struct { type StreamListener struct {

View File

@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/eyedeekay/i2pkeys" "github.com/go-i2p/i2pkeys"
) )
func Test_StreamingDial(t *testing.T) { func Test_StreamingDial(t *testing.T) {