mirror of
https://github.com/therootcompany/golib.git
synced 2025-10-12 20:18:16 +00:00
ref(colorjson): moved to '3p' (third party)
This commit is contained in:
parent
56b2b43d3d
commit
f4b69761f9
@ -19,7 +19,7 @@ ColorJSON was built in order to produce fast beautiful colorized JSON output for
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go get -u github.com/therootcompany/golib/colorjson
|
go get -u github.com/therootcompany/golib/3p/colorjson
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@ -27,7 +27,7 @@ go get -u github.com/therootcompany/golib/colorjson
|
|||||||
Setup
|
Setup
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/therootcompany/golib/colorjson"
|
import "github.com/therootcompany/golib/3p/colorjson"
|
||||||
|
|
||||||
str := `{
|
str := `{
|
||||||
"str": "foo",
|
"str": "foo",
|
@ -4,7 +4,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/hokaccha/go-prettyjson"
|
"github.com/hokaccha/go-prettyjson"
|
||||||
"github.com/therootcompany/golib/colorjson"
|
"github.com/therootcompany/golib/3p/colorjson"
|
||||||
)
|
)
|
||||||
|
|
||||||
func BenchmarkMarshall(b *testing.B) {
|
func BenchmarkMarshall(b *testing.B) {
|
@ -1,10 +1,10 @@
|
|||||||
module github.com/therootcompany/golib/colorjson/benchmarks
|
module github.com/therootcompany/golib/3p/colorjson/benchmarks
|
||||||
|
|
||||||
go 1.18.0
|
go 1.18.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f
|
github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f
|
||||||
github.com/therootcompany/golib/colorjson v1.0.0
|
github.com/therootcompany/golib/3p/colorjson v1.0.0
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
@ -7,8 +7,8 @@ github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovk
|
|||||||
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
||||||
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
|
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
|
||||||
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
|
||||||
github.com/therootcompany/golib/colorjson v1.0.0 h1:ihsmHrY9mRrClO94KSx4ed3bql1eaLnzOT+1QEnWlug=
|
github.com/therootcompany/golib/3p/colorjson v1.0.0 h1:ihsmHrY9mRrClO94KSx4ed3bql1eaLnzOT+1QEnWlug=
|
||||||
github.com/therootcompany/golib/colorjson v1.0.0/go.mod h1:bE0wCyOsRFQnz22+TnQu4D0+FPl+ZugaaE79bjgDqRw=
|
github.com/therootcompany/golib/3p/colorjson v1.0.0/go.mod h1:bE0wCyOsRFQnz22+TnQu4D0+FPl+ZugaaE79bjgDqRw=
|
||||||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
|
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
|
@ -4,7 +4,7 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/therootcompany/golib/colorjson"
|
"github.com/therootcompany/golib/3p/colorjson"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
@ -4,7 +4,7 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/therootcompany/golib/colorjson"
|
"github.com/therootcompany/golib/3p/colorjson"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
@ -1,4 +1,4 @@
|
|||||||
module github.com/therootcompany/golib/colorjson
|
module github.com/therootcompany/golib/3p/colorjson
|
||||||
|
|
||||||
go 1.18.0
|
go 1.18.0
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user