"sourcecode.socia/reiver/go-jsonint" -> "github.com/reiver/go-jsonint"
parent
3d5abd104c
commit
e17c568066
|
@ -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
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module sourcecode.social/reiver/go-jsonint
|
||||
module github.com/reiver/go-jsonint
|
||||
|
||||
go 1.20
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"encoding/json"
|
||||
|
||||
"sourcecode.social/reiver/go-jsonint"
|
||||
"github.com/reiver/go-jsonint"
|
||||
)
|
||||
|
||||
func TestInt_UnmarshalJSON(t *testing.T) {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
|
||||
"encoding/json"
|
||||
|
||||
"sourcecode.social/reiver/go-jsonint"
|
||||
"github.com/reiver/go-jsonint"
|
||||
)
|
||||
|
||||
func TestZero(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue