diff --git a/README.md b/README.md index a9a7790..a2fd730 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Go `netconf` client library -[![Go Reference](https://pkg.go.dev/badge/github.com/nemith/netconf.svg)](https://pkg.go.dev/github.com/nemith/netconf) -[![Report Card](https://goreportcard.com/badge/github.com/nemith/netconf)](https://goreportcard.com/report/github.com/nemith/netconf) +[![Go Reference](https://pkg.go.dev/badge/nemith.io/netconf.svg)](https://pkg.go.dev/nemith.io/netconf) +[![Report Card](https://goreportcard.com/badge/nemith.io/netconf)](https://goreportcard.com/report/nemith.io/netconf) [![stability-unstable](https://img.shields.io/badge/stability-unstable-yellow.svg)](https://github.com/emersion/stability-badges#unstable) -[![Validate](https://github.com/nemith/netconf/actions/workflows/validate.yaml/badge.svg?branch=main&event=push)](https://github.com/nemith/netconf/actions/workflows/validate.yaml) -[![coverage](https://raw.githubusercontent.com/nemith/netconf/coverage/badge.svg)](http://htmlpreview.github.io/?https://github.com/nemith/netconf/blob/coverage/coverage.html) +[![Validate](https://nemith.io/netconf/actions/workflows/validate.yaml/badge.svg?branch=main&event=push)](https://nemith.io/netconf/actions/workflows/validate.yaml) +[![coverage](https://raw.githubusercontent.com/nemith/netconf/coverage/badge.svg)](http://htmlpreview.github.io/?https://nemith.io/netconf/blob/coverage/coverage.html) This library is used to create client applications for connecting to network devices via NETCONF. diff --git a/example_ssh_test.go b/example_ssh_test.go index 1341b8f..6f6924f 100644 --- a/example_ssh_test.go +++ b/example_ssh_test.go @@ -5,8 +5,8 @@ import ( "log" "time" - "github.com/nemith/netconf" - ncssh "github.com/nemith/netconf/transport/ssh" + "nemith.io/netconf" + ncssh "nemith.io/netconf/transport/ssh" "golang.org/x/crypto/ssh" ) diff --git a/example_tls_test.go b/example_tls_test.go index 55d87da..ee91fc0 100644 --- a/example_tls_test.go +++ b/example_tls_test.go @@ -10,8 +10,8 @@ import ( "os" "time" - "github.com/nemith/netconf" - nctls "github.com/nemith/netconf/transport/tls" + "nemith.io/netconf" + nctls "nemith.io/netconf/transport/tls" ) const tlsAddr = "myrouter.example.com:6513" diff --git a/go.mod b/go.mod index aa3636d..0bf8888 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/nemith/netconf +module nemith.io/netconf go 1.23.0 diff --git a/inttest/ssh_test.go b/inttest/ssh_test.go index 75ff0ba..a19c6db 100644 --- a/inttest/ssh_test.go +++ b/inttest/ssh_test.go @@ -11,8 +11,8 @@ import ( "strings" "testing" - "github.com/nemith/netconf" - ncssh "github.com/nemith/netconf/transport/ssh" + "nemith.io/netconf" + ncssh "nemith.io/netconf/transport/ssh" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/crypto/ssh" diff --git a/session.go b/session.go index f7f008e..cedb286 100644 --- a/session.go +++ b/session.go @@ -12,7 +12,7 @@ import ( "sync/atomic" "syscall" - "github.com/nemith/netconf/transport" + "nemith.io/netconf/transport" ) var ErrClosed = errors.New("closed connection") diff --git a/transport/ssh/ssh.go b/transport/ssh/ssh.go index e030a82..b979132 100644 --- a/transport/ssh/ssh.go +++ b/transport/ssh/ssh.go @@ -6,7 +6,7 @@ import ( "io" "net" - "github.com/nemith/netconf/transport" + "nemith.io/netconf/transport" "golang.org/x/crypto/ssh" ) diff --git a/transport/tls/tls.go b/transport/tls/tls.go index cdf3ca7..71e5cdb 100644 --- a/transport/tls/tls.go +++ b/transport/tls/tls.go @@ -5,7 +5,7 @@ import ( "crypto/tls" "net" - "github.com/nemith/netconf/transport" + "nemith.io/netconf/transport" ) // alias it to a private type so we can make it private when embedding