"sourcecode.social/reiver/go-jsonstr" -> "github.com/reiver/go-jsonstr"
parent
1daa46228d
commit
8bff72142e
|
@ -4,22 +4,22 @@ Package **jsonstr** provides tools for working with strings in JSON.
|
||||||
|
|
||||||
## Documention
|
## Documention
|
||||||
|
|
||||||
Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-jsonstr
|
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-jsonstr
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-jsonstr?status.svg)](https://godoc.org/sourcecode.social/reiver/go-jsonstr)
|
[![GoDoc](https://godoc.org/github.com/reiver/go-jsonstr?status.svg)](https://godoc.org/github.com/reiver/go-jsonstr)
|
||||||
|
|
||||||
## Import
|
## Import
|
||||||
|
|
||||||
To import package **jsonstr** use `import` code like the follownig:
|
To import package **jsonstr** use `import` code like the follownig:
|
||||||
```
|
```
|
||||||
import "sourcecode.social/reiver/go-jsonstr"
|
import "github.com/reiver/go-jsonstr"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
To install package **jsonstr** do the following:
|
To install package **jsonstr** do the following:
|
||||||
```
|
```
|
||||||
GOPROXY=direct go get https://sourcecode.social/reiver/go-jsonstr
|
GOPROXY=direct go get https://github.com/reiver/go-jsonstr
|
||||||
```
|
```
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module sourcecode.social/reiver/go-jsonstr
|
module github.com/reiver/go-jsonstr
|
||||||
|
|
||||||
go 1.20
|
go 1.20
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"sourcecode.social/reiver/go-jsonstr"
|
"github.com/reiver/go-jsonstr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestString_MarshalJSON(t *testing.T) {
|
func TestString_MarshalJSON(t *testing.T) {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"sourcecode.social/reiver/go-jsonstr"
|
"github.com/reiver/go-jsonstr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestString_UnmarshalJSON(t *testing.T) {
|
func TestString_UnmarshalJSON(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue