From 693d0d408811c431fde27311cd013dcf5061676b Mon Sep 17 00:00:00 2001 From: Liyan David Chang Date: Sat, 19 Sep 2020 22:33:11 -0400 Subject: [PATCH] Transfer to ettle (#6) Creating a github org to better organize open source projects --- .readme.tmpl | 6 +++--- Makefile | 2 +- README.md | 10 +++++----- benchmark/benchmark_test.go | 2 +- benchmark/go.mod | 6 +++--- doc.go | 2 +- go.mod | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.readme.tmpl b/.readme.tmpl index 0924440..135765c 100644 --- a/.readme.tmpl +++ b/.readme.tmpl @@ -1,9 +1,9 @@ {{with .PDoc}} # Go Strcase -[![Go Report Card](https://goreportcard.com/badge/github.com/liyanchang/strcase)](https://goreportcard.com/report/github.com/liyanchang/strcase) -[![Coverage](http://gocover.io/_badge/github.com/liyanchang/strcase?0)](http://gocover.io/github.com/liyanchang/strcase) -[![GoDoc](https://godoc.org/github.com/liyanchang/strcase?status.svg)](https://pkg.go.dev/github.com/liyanchang/strcase) +[![Go Report Card](https://goreportcard.com/badge/github.com/ettle/strcase)](https://goreportcard.com/report/github.com/ettle/strcase) +[![Coverage](http://gocover.io/_badge/github.com/ettle/strcase?0)](http://gocover.io/github.com/ettle/strcase) +[![GoDoc](https://godoc.org/github.com/ettle/strcase?status.svg)](https://pkg.go.dev/github.com/ettle/strcase) Convert strings to `snake_case`, `camelCase`, `PascalCase`, `kebab-case` and more! Supports Go initialisms, customization, and Unicode. diff --git a/Makefile b/Makefile index 819d760..462f8b4 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ docs: which godoc2ghmd || ( go get github.com/DevotedHealth/godoc2ghmd && go mod tidy ) - godoc2ghmd -template .readme.tmpl github.com/liyanchang/strcase > README.md + godoc2ghmd -template .readme.tmpl github.com/ettle/strcase > README.md test: go test -cover ./... diff --git a/README.md b/README.md index ee23350..ee165e3 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ # Go Strcase -[![Go Report Card](https://goreportcard.com/badge/github.com/liyanchang/strcase)](https://goreportcard.com/report/github.com/liyanchang/strcase) -[![Coverage](http://gocover.io/_badge/github.com/liyanchang/strcase?0)](http://gocover.io/github.com/liyanchang/strcase) -[![GoDoc](https://godoc.org/github.com/liyanchang/strcase?status.svg)](https://pkg.go.dev/github.com/liyanchang/strcase) +[![Go Report Card](https://goreportcard.com/badge/github.com/ettle/strcase)](https://goreportcard.com/report/github.com/ettle/strcase) +[![Coverage](http://gocover.io/_badge/github.com/ettle/strcase?0)](http://gocover.io/github.com/ettle/strcase) +[![GoDoc](https://godoc.org/github.com/ettle/strcase?status.svg)](https://pkg.go.dev/github.com/ettle/strcase) Convert strings to `snake_case`, `camelCase`, `PascalCase`, `kebab-case` and more! Supports Go initialisms, customization, and Unicode. -`import "github.com/liyanchang/strcase"` +`import "github.com/ettle/strcase"` ## Overview Package strcase is a package for converting strings into various word cases (e.g. snake_case, camelCase) - go get -u github.com/liyanchang/strcase + go get -u github.com/ettle/strcase Example usage diff --git a/benchmark/benchmark_test.go b/benchmark/benchmark_test.go index 7db2ee0..910743f 100644 --- a/benchmark/benchmark_test.go +++ b/benchmark/benchmark_test.go @@ -6,9 +6,9 @@ import ( "testing" gv "github.com/asaskevich/govalidator" + "github.com/ettle/strcase" fa "github.com/fatih/camelcase" ia "github.com/iancoleman/strcase" - "github.com/liyanchang/strcase" se "github.com/segmentio/go-camelcase" st "github.com/stoewer/go-strcase" ) diff --git a/benchmark/go.mod b/benchmark/go.mod index 531d0cc..2100e13 100644 --- a/benchmark/go.mod +++ b/benchmark/go.mod @@ -1,14 +1,14 @@ -module github.com/liyanchang/strcase/benchmark +module github.com/ettle/strcase/benchmark go 1.14 require ( github.com/asaskevich/govalidator v0.0.0-20200428143746-21a406dcc535 + github.com/ettle/strcase v0.0.0-00000000000000-000000000000 github.com/fatih/camelcase v1.0.0 github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334 - github.com/liyanchang/strcase v0.0.0-00000000000000-000000000000 github.com/segmentio/go-camelcase v0.0.0-20160726192923-7085f1e3c734 github.com/stoewer/go-strcase v1.2.0 ) -replace github.com/liyanchang/strcase => ../ +replace github.com/ettle/strcase => ../ diff --git a/doc.go b/doc.go index 85d8710..b898a4e 100644 --- a/doc.go +++ b/doc.go @@ -2,7 +2,7 @@ Package strcase is a package for converting strings into various word cases (e.g. snake_case, camelCase) - go get -u github.com/liyanchang/strcase + go get -u github.com/ettle/strcase Example usage diff --git a/go.mod b/go.mod index a16ae6e..0219bfa 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/liyanchang/strcase +module github.com/ettle/strcase go 1.12