From b7ebb55feece2abb74a651c217db6f7ead778170 Mon Sep 17 00:00:00 2001 From: James Mills Date: Mon, 12 Jul 2021 23:54:10 +1000 Subject: [PATCH] Fix import paths --- README.md | 16 ++++++++-------- examples/client/main.go | 2 +- examples/fileserver/main.go | 2 +- examples/hello/main.go | 2 +- gopher.go | 4 ++-- gopher_test.go | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f302dcd..7eab1a4 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ [![Build Status](https://cloud.drone.io/api/badges/prologic/go-gopher/status.svg)](https://cloud.drone.io/prologic/go-gopher) [![CodeCov](https://codecov.io/gh/prologic/go-gopher/branch/master/graph/badge.svg)](https://codecov.io/gh/prologic/go-gopher) [![Go Report Card](https://goreportcard.com/badge/prologic/go-gopher)](https://goreportcard.com/report/prologic/go-gopher) -[![GoDoc](https://godoc.org/github.com/prologic/go-gopher?status.svg)](https://godoc.org/github.com/prologic/go-gopher) -[![Sourcegraph](https://sourcegraph.com/github.com/prologic/go-gopher/-/badge.svg)](https://sourcegraph.com/github.com/prologic/go-gopher?badge) +[![GoDoc](https://godoc.org/git.mills.io/prologic/go-gopher?status.svg)](https://godoc.org/git.mills.io/prologic/go-gopher) +[![Sourcegraph](https://sourcegraph.com/git.mills.io/prologic/go-gopher/-/badge.svg)](https://sourcegraph.com/git.mills.io/prologic/go-gopher?badge) This is a standards compliant Gopher library for the Go programming language implementing the RFC 1436 specification. The library includes both client and @@ -13,13 +13,13 @@ server handling and examples of each. ## Installation ```#!bash -$ go get github.com/prologic/go-gopher +$ go get git.mills.io/prologic/go-gopher ``` ## Usage ```#!go -import "github.com/prologic/go-gopher" +import "git.mills.io/prologic/go-gopher" ``` ## Example @@ -32,7 +32,7 @@ package main import ( "fmt" - "github.com/prologic/go-gopher" + "git.mills.io/prologic/go-gopher" ) func main() { @@ -50,7 +50,7 @@ package main import ( "log" - "github.com/prologic/go-gopher" + "git.mills.io/prologic/go-gopher" ) func hello(w gopher.ResponseWriter, r *gopher.Request) { @@ -67,11 +67,11 @@ func main() { Related projects: -- [gopherproxy](https://github.com/prologic/gopherproxy) +- [gopherproxy](https://git.mills.io/prologic/gopherproxy) gopherproxy is Gopher to HTTP proxy that uses go-gopher for all of its core functionality. -- [gopherclient](https://github.com/prologic/gopherclient) +- [gopherclient](https://git.mills.io/prologic/gopherclient) gopherclient is a cross-platform QT/QML GUI Gopher Client using the gopherproxy library as its backend. diff --git a/examples/client/main.go b/examples/client/main.go index 7b69242..03ce761 100644 --- a/examples/client/main.go +++ b/examples/client/main.go @@ -6,7 +6,7 @@ import ( "io/ioutil" "log" - "github.com/prologic/go-gopher" + "git.mills.io/prologic/go-gopher" ) var ( diff --git a/examples/fileserver/main.go b/examples/fileserver/main.go index 2e371dc..f6b1f92 100644 --- a/examples/fileserver/main.go +++ b/examples/fileserver/main.go @@ -5,7 +5,7 @@ import ( "log" "os" - "github.com/prologic/go-gopher" + "git.mills.io/prologic/go-gopher" ) func cwd() string { diff --git a/examples/hello/main.go b/examples/hello/main.go index 869ee63..f00c769 100644 --- a/examples/hello/main.go +++ b/examples/hello/main.go @@ -4,7 +4,7 @@ import ( "log" "sync" - "github.com/prologic/go-gopher" + "git.mills.io/prologic/go-gopher" ) func index(w gopher.ResponseWriter, r *gopher.Request) { diff --git a/gopher.go b/gopher.go index c1e9171..875e8bc 100644 --- a/gopher.go +++ b/gopher.go @@ -797,7 +797,7 @@ func (s *Server) logf(format string, args ...interface{}) { // "io" // "log" // -// "github.com/prologic/go-gopher" +// "git.mills.io/prologic/go-gopher" // ) // // // hello world, the gopher server @@ -828,7 +828,7 @@ func ListenAndServe(addr string, handler Handler) error { // import ( // "log" // -// "github.com/prologic/go-gopher", +// "git.mills.io/prologic/go-gopher", // ) // // func HelloServer(w gopher.ResponseWriter, req *gopher.Request) { diff --git a/gopher_test.go b/gopher_test.go index c158c3b..f6ac42a 100644 --- a/gopher_test.go +++ b/gopher_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/prologic/go-gopher" + "git.mills.io/prologic/go-gopher" "github.com/stretchr/testify/assert" )