sourcecode.social -> github.com

master
Charles Iliya Krempeaux 2024-08-24 07:05:17 -07:00
parent d447fdfb52
commit 5de48ef09b
11 changed files with 20 additions and 22 deletions

View File

@ -7,22 +7,22 @@ https://datatracker.ietf.org/doc/html/rfc3986
## Documention ## 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 ## Import
To import package **rfc3986** use `import` code like the follownig: To import package **rfc3986** use `import` code like the follownig:
``` ```
import "sourcecode.social/reiver/go-rfc3986" import "github.com/reiver/go-rfc3986"
``` ```
## Installation ## Installation
To install package **rfc3986** do the following: 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 ## Author

View File

@ -1,7 +1,7 @@
package rfc3986 package rfc3986
import ( import (
"sourcecode.social/reiver/go-erorr" "github.com/reiver/go-erorr"
) )
const ( const (

View File

@ -3,7 +3,7 @@ package rfc3986_test
import ( import (
"testing" "testing"
"sourcecode.social/reiver/go-rfc3986" "github.com/reiver/go-rfc3986"
) )
func TestIsGenDelim(t *testing.T) { func TestIsGenDelim(t *testing.T) {

6
go.mod
View File

@ -1,8 +1,8 @@
module sourcecode.social/reiver/go-rfc3986 module github.com/reiver/go-rfc3986
go 1.20 go 1.20
require ( require (
sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 // indirect github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f // indirect
sourcecode.social/reiver/go-rfc2234 v0.0.0-20231006162118-904bbffee7e4 // indirect github.com/reiver/go-rfc2234 v0.0.0-20240824134608-874192441e79 // indirect
) )

10
go.sum
View File

@ -1,6 +1,4 @@
sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 h1:wpnz4JicQBLWrgGphYBls7DysIFCcnWgDz/vce/sY8E= github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f h1:D1QSxKHm8U73XhjsW3SFLkT0zT5pKJi+1KGboMhY1Rk=
sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1/go.mod h1:NFtd7fzEf0r6A6R7JXYZfayRhPaJy0zt/18VWoLzrxA= github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f/go.mod h1:F0HbBf+Ak2ZlE8YkDW4Y+KxaUmT0KaaIJK6CXY3cJxE=
sourcecode.social/reiver/go-rfc2234 v0.0.0-20231004090151-ce553a7c22a5 h1:wCAZmyemJDcwkPVs4rODF+kDtgnvtPLLymwGjdJTGO0= github.com/reiver/go-rfc2234 v0.0.0-20240824134608-874192441e79 h1:DRNqoxS6b5TLHKjX5hE6PSL2b0GqlMiw5Vh4ct7oIYs=
sourcecode.social/reiver/go-rfc2234 v0.0.0-20231004090151-ce553a7c22a5/go.mod h1:EuJSji3zbYdlUu4hhW8Zs300SMcn7+7z3YqM5ZZNAyo= github.com/reiver/go-rfc2234 v0.0.0-20240824134608-874192441e79/go.mod h1:ukK719h1pqMMWmCcBwHnBCcY2lRYnnBpWljt3Ek4QDs=
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=

View File

@ -3,7 +3,7 @@ package rfc3986
import ( import (
"io" "io"
"sourcecode.social/reiver/go-erorr" "github.com/reiver/go-erorr"
) )
const pctencodedprefix = '%' const pctencodedprefix = '%'

View File

@ -6,7 +6,7 @@ import (
"io" "io"
"strings" "strings"
"sourcecode.social/reiver/go-rfc3986" "github.com/reiver/go-rfc3986"
) )
func TestReadPctEncodedByte(t *testing.T) { func TestReadPctEncodedByte(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"strings" "strings"
"sourcecode.social/reiver/go-rfc3986" "github.com/reiver/go-rfc3986"
) )
func TestWritePctEncodedByte(t *testing.T) { func TestWritePctEncodedByte(t *testing.T) {

View File

@ -3,7 +3,7 @@ package rfc3986_test
import ( import (
"testing" "testing"
"sourcecode.social/reiver/go-rfc3986" "github.com/reiver/go-rfc3986"
) )
func TestIsSubDelim(t *testing.T) { func TestIsSubDelim(t *testing.T) {

View File

@ -1,7 +1,7 @@
package rfc3986 package rfc3986
import ( 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: // IsUnreserved returns true if the value of 'r' matches 'unreserved' as defined in IETF RFC-3986:

View File

@ -3,9 +3,9 @@ package rfc3986_test
import ( import (
"testing" "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) { func TestIsUnreserved(t *testing.T) {