diff --git a/colorjson/LICENSE b/3p/colorjson/LICENSE similarity index 100% rename from colorjson/LICENSE rename to 3p/colorjson/LICENSE diff --git a/colorjson/README.md b/3p/colorjson/README.md similarity index 92% rename from colorjson/README.md rename to 3p/colorjson/README.md index 53774a9..807c28c 100644 --- a/colorjson/README.md +++ b/3p/colorjson/README.md @@ -19,7 +19,7 @@ ColorJSON was built in order to produce fast beautiful colorized JSON output for ## Installation ```sh -go get -u github.com/therootcompany/golib/colorjson +go get -u github.com/therootcompany/golib/3p/colorjson ``` ## Usage @@ -27,7 +27,7 @@ go get -u github.com/therootcompany/golib/colorjson Setup ```go -import "github.com/therootcompany/golib/colorjson" +import "github.com/therootcompany/golib/3p/colorjson" str := `{ "str": "foo", diff --git a/colorjson/benchmarks/colorjson_test.go b/3p/colorjson/benchmarks/colorjson_test.go similarity index 92% rename from colorjson/benchmarks/colorjson_test.go rename to 3p/colorjson/benchmarks/colorjson_test.go index ddfa1ec..f2b9b37 100644 --- a/colorjson/benchmarks/colorjson_test.go +++ b/3p/colorjson/benchmarks/colorjson_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/hokaccha/go-prettyjson" - "github.com/therootcompany/golib/colorjson" + "github.com/therootcompany/golib/3p/colorjson" ) func BenchmarkMarshall(b *testing.B) { diff --git a/colorjson/benchmarks/go.mod b/3p/colorjson/benchmarks/go.mod similarity index 71% rename from colorjson/benchmarks/go.mod rename to 3p/colorjson/benchmarks/go.mod index 815f174..3553d3c 100644 --- a/colorjson/benchmarks/go.mod +++ b/3p/colorjson/benchmarks/go.mod @@ -1,10 +1,10 @@ -module github.com/therootcompany/golib/colorjson/benchmarks +module github.com/therootcompany/golib/3p/colorjson/benchmarks go 1.18.0 require ( 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 ( diff --git a/colorjson/benchmarks/go.sum b/3p/colorjson/benchmarks/go.sum similarity index 85% rename from colorjson/benchmarks/go.sum rename to 3p/colorjson/benchmarks/go.sum index f25b822..d8b33ef 100644 --- a/colorjson/benchmarks/go.sum +++ b/3p/colorjson/benchmarks/go.sum @@ -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.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= 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/colorjson v1.0.0/go.mod h1:bE0wCyOsRFQnz22+TnQu4D0+FPl+ZugaaE79bjgDqRw= +github.com/therootcompany/golib/3p/colorjson v1.0.0 h1:ihsmHrY9mRrClO94KSx4ed3bql1eaLnzOT+1QEnWlug= +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.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= diff --git a/colorjson/colorjson.go b/3p/colorjson/colorjson.go similarity index 100% rename from colorjson/colorjson.go rename to 3p/colorjson/colorjson.go diff --git a/colorjson/examples/indent/main.go b/3p/colorjson/examples/indent/main.go similarity index 90% rename from colorjson/examples/indent/main.go rename to 3p/colorjson/examples/indent/main.go index cb94266..cd09243 100644 --- a/colorjson/examples/indent/main.go +++ b/3p/colorjson/examples/indent/main.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/therootcompany/golib/colorjson" + "github.com/therootcompany/golib/3p/colorjson" ) func main() { diff --git a/colorjson/examples/simple/main.go b/3p/colorjson/examples/simple/main.go similarity index 88% rename from colorjson/examples/simple/main.go rename to 3p/colorjson/examples/simple/main.go index f9b07e9..4508119 100644 --- a/colorjson/examples/simple/main.go +++ b/3p/colorjson/examples/simple/main.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/therootcompany/golib/colorjson" + "github.com/therootcompany/golib/3p/colorjson" ) func main() { diff --git a/colorjson/go.mod b/3p/colorjson/go.mod similarity index 79% rename from colorjson/go.mod rename to 3p/colorjson/go.mod index 7f7c83f..a8f8e53 100644 --- a/colorjson/go.mod +++ b/3p/colorjson/go.mod @@ -1,4 +1,4 @@ -module github.com/therootcompany/golib/colorjson +module github.com/therootcompany/golib/3p/colorjson go 1.18.0 diff --git a/colorjson/go.sum b/3p/colorjson/go.sum similarity index 100% rename from colorjson/go.sum rename to 3p/colorjson/go.sum