"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
|
## 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
|
## Example
|
||||||
|
|
||||||
|
@ -31,14 +31,14 @@ err := json.Unmarshal(data, &account)
|
||||||
|
|
||||||
To import package **jsonint** use `import` code like the follownig:
|
To import package **jsonint** use `import` code like the follownig:
|
||||||
```
|
```
|
||||||
import "sourcecode.social/reiver/go-jsonint"
|
import "github.com/reiver/go-jsonint"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
To install package **jsonint** do the following:
|
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
|
## 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
|
go 1.20
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ package jsonint_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"sourcecode.social/reiver/go-jsonint"
|
"github.com/reiver/go-jsonint"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt_MarshalJSON(t *testing.T) {
|
func TestInt_MarshalJSON(t *testing.T) {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"sourcecode.social/reiver/go-jsonint"
|
"github.com/reiver/go-jsonint"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestInt_UnmarshalJSON(t *testing.T) {
|
func TestInt_UnmarshalJSON(t *testing.T) {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"sourcecode.social/reiver/go-jsonint"
|
"github.com/reiver/go-jsonint"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestZero(t *testing.T) {
|
func TestZero(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue