Skip to content

Commit

Permalink
Transfer to ettle (#6)
Browse files Browse the repository at this point in the history
Creating a github org to better organize open source projects
  • Loading branch information
liyanchang authored Sep 20, 2020
1 parent 061490b commit 693d0d4
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .readme.tmpl
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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"`

## <a name="pkg-overview">Overview</a>
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

Expand Down
2 changes: 1 addition & 1 deletion benchmark/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
6 changes: 3 additions & 3 deletions benchmark/go.mod
Original file line number Diff line number Diff line change
@@ -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 => ../
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/liyanchang/strcase
module github.com/ettle/strcase

go 1.12

Expand Down

0 comments on commit 693d0d4

Please sign in to comment.