"sourcecode.socia/reiver/go-jsonint" -> "github.com/reiver/go-jsonint"

master
Charles Iliya Krempeaux 2024-08-01 15:49:52 -07:00
parent 3d5abd104c
commit e17c568066
5 changed files with 8 additions and 8 deletions

View File

@ -6,9 +6,9 @@ This helps to work-around that numbers in JSON are effectively "broken".
## Documention
Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-jsonint
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-jsonint
[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-jsonint?status.svg)](https://godoc.org/sourcecode.social/reiver/go-jsonint)
[![GoDoc](https://godoc.org/github.com/reiver/go-jsonint?status.svg)](https://godoc.org/github.com/reiver/go-jsonint)
## Example
@ -31,14 +31,14 @@ err := json.Unmarshal(data, &account)
To import package **jsonint** use `import` code like the follownig:
```
import "sourcecode.social/reiver/go-jsonint"
import "github.com/reiver/go-jsonint"
```
## Installation
To install package **jsonint** do the following:
```
GOPROXY=direct go get https://sourcecode.social/reiver/go-jsonint
GOPROXY=direct go get https://github.com/reiver/go-jsonint
```
## Author

2
go.mod
View File

@ -1,4 +1,4 @@
module sourcecode.social/reiver/go-jsonint
module github.com/reiver/go-jsonint
go 1.20

View File

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

View File

@ -5,7 +5,7 @@ import (
"encoding/json"
"sourcecode.social/reiver/go-jsonint"
"github.com/reiver/go-jsonint"
)
func TestInt_UnmarshalJSON(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"encoding/json"
"sourcecode.social/reiver/go-jsonint"
"github.com/reiver/go-jsonint"
)
func TestZero(t *testing.T) {