From 5de48ef09b3e5fc7a7db500f6a043fcdab0b7541 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Sat, 24 Aug 2024 07:05:17 -0700 Subject: [PATCH] sourcecode.social -> github.com --- README.md | 8 ++++---- errors.go | 2 +- gendelims_test.go | 2 +- go.mod | 6 +++--- go.sum | 10 ++++------ pctencoded.go | 2 +- pctencoded_readpctencodedbyte_test.go | 2 +- pctencoded_writepctencodedbyte_test.go | 2 +- subdelims_test.go | 2 +- unreserved.go | 2 +- unreserved_test.go | 4 ++-- 11 files changed, 20 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 9ff223b..032a599 100644 --- a/README.md +++ b/README.md @@ -7,22 +7,22 @@ https://datatracker.ietf.org/doc/html/rfc3986 ## Documention -Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-rfc3986 +Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-rfc3986 -[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-rfc3986?status.svg)](https://godoc.org/sourcecode.social/reiver/go-rfc3986) +[![GoDoc](https://godoc.org/github.com/reiver/go-rfc3986?status.svg)](https://godoc.org/github.com/reiver/go-rfc3986) ## Import To import package **rfc3986** use `import` code like the follownig: ``` -import "sourcecode.social/reiver/go-rfc3986" +import "github.com/reiver/go-rfc3986" ``` ## Installation To install package **rfc3986** do the following: ``` -GOPROXY=direct go get https://sourcecode.social/reiver/go-rfc3986 +GOPROXY=direct go get https://github.com/reiver/go-rfc3986 ``` ## Author diff --git a/errors.go b/errors.go index 6449fbf..f662aba 100644 --- a/errors.go +++ b/errors.go @@ -1,7 +1,7 @@ package rfc3986 import ( - "sourcecode.social/reiver/go-erorr" + "github.com/reiver/go-erorr" ) const ( diff --git a/gendelims_test.go b/gendelims_test.go index 005e92e..b50c55f 100644 --- a/gendelims_test.go +++ b/gendelims_test.go @@ -3,7 +3,7 @@ package rfc3986_test import ( "testing" - "sourcecode.social/reiver/go-rfc3986" + "github.com/reiver/go-rfc3986" ) func TestIsGenDelim(t *testing.T) { diff --git a/go.mod b/go.mod index 22b75e8..449c239 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ -module sourcecode.social/reiver/go-rfc3986 +module github.com/reiver/go-rfc3986 go 1.20 require ( - sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 // indirect - sourcecode.social/reiver/go-rfc2234 v0.0.0-20231006162118-904bbffee7e4 // indirect + github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f // indirect + github.com/reiver/go-rfc2234 v0.0.0-20240824134608-874192441e79 // indirect ) diff --git a/go.sum b/go.sum index d5c488d..84d92aa 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,4 @@ -sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 h1:wpnz4JicQBLWrgGphYBls7DysIFCcnWgDz/vce/sY8E= -sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1/go.mod h1:NFtd7fzEf0r6A6R7JXYZfayRhPaJy0zt/18VWoLzrxA= -sourcecode.social/reiver/go-rfc2234 v0.0.0-20231004090151-ce553a7c22a5 h1:wCAZmyemJDcwkPVs4rODF+kDtgnvtPLLymwGjdJTGO0= -sourcecode.social/reiver/go-rfc2234 v0.0.0-20231004090151-ce553a7c22a5/go.mod h1:EuJSji3zbYdlUu4hhW8Zs300SMcn7+7z3YqM5ZZNAyo= -sourcecode.social/reiver/go-rfc2234 v0.0.0-20231006162118-904bbffee7e4 h1:9Ky4s8gKOCLZcAZnyd20eg61rcNI24Q3Ez1TuszC9DY= -sourcecode.social/reiver/go-rfc2234 v0.0.0-20231006162118-904bbffee7e4/go.mod h1:EuJSji3zbYdlUu4hhW8Zs300SMcn7+7z3YqM5ZZNAyo= +github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f h1:D1QSxKHm8U73XhjsW3SFLkT0zT5pKJi+1KGboMhY1Rk= +github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f/go.mod h1:F0HbBf+Ak2ZlE8YkDW4Y+KxaUmT0KaaIJK6CXY3cJxE= +github.com/reiver/go-rfc2234 v0.0.0-20240824134608-874192441e79 h1:DRNqoxS6b5TLHKjX5hE6PSL2b0GqlMiw5Vh4ct7oIYs= +github.com/reiver/go-rfc2234 v0.0.0-20240824134608-874192441e79/go.mod h1:ukK719h1pqMMWmCcBwHnBCcY2lRYnnBpWljt3Ek4QDs= diff --git a/pctencoded.go b/pctencoded.go index c380ca7..3623780 100644 --- a/pctencoded.go +++ b/pctencoded.go @@ -3,7 +3,7 @@ package rfc3986 import ( "io" - "sourcecode.social/reiver/go-erorr" + "github.com/reiver/go-erorr" ) const pctencodedprefix = '%' diff --git a/pctencoded_readpctencodedbyte_test.go b/pctencoded_readpctencodedbyte_test.go index 108bcce..5dc0824 100644 --- a/pctencoded_readpctencodedbyte_test.go +++ b/pctencoded_readpctencodedbyte_test.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "sourcecode.social/reiver/go-rfc3986" + "github.com/reiver/go-rfc3986" ) func TestReadPctEncodedByte(t *testing.T) { diff --git a/pctencoded_writepctencodedbyte_test.go b/pctencoded_writepctencodedbyte_test.go index ffb974b..f50903d 100644 --- a/pctencoded_writepctencodedbyte_test.go +++ b/pctencoded_writepctencodedbyte_test.go @@ -5,7 +5,7 @@ import ( "strings" - "sourcecode.social/reiver/go-rfc3986" + "github.com/reiver/go-rfc3986" ) func TestWritePctEncodedByte(t *testing.T) { diff --git a/subdelims_test.go b/subdelims_test.go index 701e221..25e0918 100644 --- a/subdelims_test.go +++ b/subdelims_test.go @@ -3,7 +3,7 @@ package rfc3986_test import ( "testing" - "sourcecode.social/reiver/go-rfc3986" + "github.com/reiver/go-rfc3986" ) func TestIsSubDelim(t *testing.T) { diff --git a/unreserved.go b/unreserved.go index 98f9be6..a90634f 100644 --- a/unreserved.go +++ b/unreserved.go @@ -1,7 +1,7 @@ package rfc3986 import ( - "sourcecode.social/reiver/go-rfc2234" + "github.com/reiver/go-rfc2234" ) // IsUnreserved returns true if the value of 'r' matches 'unreserved' as defined in IETF RFC-3986: diff --git a/unreserved_test.go b/unreserved_test.go index 5e7fae8..fcb30fb 100644 --- a/unreserved_test.go +++ b/unreserved_test.go @@ -3,9 +3,9 @@ package rfc3986_test import ( "testing" - "sourcecode.social/reiver/go-rfc2234" + "github.com/reiver/go-rfc2234" - "sourcecode.social/reiver/go-rfc3986" + "github.com/reiver/go-rfc3986" ) func TestIsUnreserved(t *testing.T) {