Commit Graph

52 Commits

Author SHA1 Message Date
iancoleman
23e9d4e5c0
Merge pull request #24 from NathanBaulch/master
Better number handling and general performance
2020-08-18 09:00:22 +10:00
Nathan Baulch
6fab653004 Remove problematic numbers regexp 2020-08-17 08:50:29 +10:00
Nathan Baulch
820267b5d9 Performance optimizations 2020-08-17 08:49:01 +10:00
Nathan Baulch
a6b8dcde35 Fix incorrect delimiter between dot and cap 2020-08-17 08:35:29 +10:00
Nathan Baulch
486369db5a Minor linting and readability improvements 2020-08-17 08:35:29 +10:00
Nathan Baulch
5ab870f8c1 Benchmarks 2020-08-17 07:21:47 +10:00
Ian Coleman
16388991a3 Update travisci
See https://docs.travis-ci.com/user/languages/go/#specifying-a-go-version-to-use
2019-11-13 10:29:45 +11:00
Ian Coleman
cb1a286566 Add test for ToScreamingDelimitedWithIgnore 2019-11-13 10:24:17 +11:00
Ian Coleman
e7b55ac809 Update examples in readme 2019-11-13 10:22:13 +11:00
iancoleman
ce7b139d80
Merge pull request #11 from shuheiktgw/small_fixes
Update travis.yml and README
2019-11-13 10:01:54 +11:00
Ian Coleman
13740a6cff Tidy up snake.go
Comment width reduced
If condition reworded for readability
Typo ingore/ignore
Rename del to delimiter
Run gofmt
2019-11-13 09:59:53 +11:00
Ian Coleman
198ca931c7 Fix acronyms for camel case 2019-11-13 09:54:50 +11:00
iancoleman
21f80d9b9a
Merge pull request #19 from floydspace/floydspace-patch-1
treat next letter after `.` as cap
2019-11-13 09:53:59 +11:00
iancoleman
b68dd5e7e7
Merge pull request #17 from jzlikewei/master
add method ToSnakeWithIgnore
2019-11-13 09:36:02 +11:00
Victor Korzunin
5c71f7c32a Add new test cases 2019-11-06 08:36:36 +01:00
Victor Korzunin
689d515138
treat next letter after . as cap 2019-11-05 00:21:21 +01:00
likewei.ilike
44067336ae add method ToSnakeWithIgnore
Change-Id: Id75f3d34d1ffc13a53351cdec79b2130cb8ffa66
2019-09-29 15:08:34 +08:00
iancoleman
e506e3ef73
Merge pull request #14 from Ma124/master
Pleasing GoReportCard
2019-04-23 08:58:06 +10:00
Ma_124
a54a9366e1 Added GoReportCard Badge and reworded the README slightly 2019-04-19 09:21:59 +02:00
Ma_124
dfc5dc8c6d refactored doc to please golint 2019-04-19 09:12:49 +02:00
Ma_124
d73be125f8 ran gofmt -s -w *.go 2019-04-19 09:01:53 +02:00
Shuhei Kitagawa
f97dca1ceb Add an instruction to install 2018-09-21 11:00:28 +09:00
Shuhei Kitagawa
266d7ff9e8 Update Golang versions on Travis CI 2018-09-21 10:59:46 +09:00
Ian Coleman
3605ed457b Add tests for untested methods 2018-07-26 12:35:41 +10:00
iancoleman
ebd67d563a
Merge pull request #10 from Ma124/master
Added support for kebab-case, snake.case with custom delimiters and the screaming variants of all 3
2018-07-26 12:26:47 +10:00
Ma_124
e9c8621a63 Fixed typo in README 2018-07-03 21:12:42 +02:00
Ma_124
22125ab701 Swapped Ma124 to iancoleman in all badges for pull request 2018-07-03 20:57:11 +02:00
Ma_124
9d2f0b2dc3 Reformatted readme 2018-07-03 20:53:39 +02:00
Ma_124
2a89e57570 Updated readme 2018-07-03 20:51:57 +02:00
Ma_124
04417c35f9 Added doc and kebab 2018-07-03 20:36:59 +02:00
Ma_124
24e04f3d6a Added screaming and doc 2018-07-03 20:31:25 +02:00
Ma_124
b39e75bb17 Added ToDelimited 2018-07-03 20:24:52 +02:00
Ma_124
d3c8073f82 Added license notices of Ian Coleman to each file 2018-07-03 19:52:40 +02:00
iancoleman
90d371a664
Merge pull request #9 from takuoki/master
Improve ToLowerCamel()
2018-06-05 13:12:48 +10:00
Takuo Oki
e136f613ee
Merge pull request #1 from takuoki/first_upper_case
improve first upper case for ToLowerCamel
2018-06-04 09:48:15 +09:00
takuoki
541756bf96 improve first upper case for ToLowerCamel 2018-06-04 09:47:14 +09:00
iancoleman
6b1e2b920d
Merge pull request #6 from bestplay/master
Update snake.go
2018-05-21 15:01:12 +10:00
richard
7c09721c5b Support from lowercase to continuous uppercase 2018-05-19 16:27:10 +08:00
bestplay
f2ad438e9e
Update snake.go 2018-04-27 15:43:56 +08:00
bestplay
d8275f2535
Update snake.go
Consider userID to user_id
2018-04-27 15:32:37 +08:00
Ian Coleman
d192385340 Treat acronyms as whole words
Closes #5
2018-03-11 18:56:25 +11:00
Ian Coleman
3de563c3dc Apply gofmt to all code 2017-11-29 12:02:53 +11:00
Ian Coleman
30c986a8fa Treat numbers as word boundaries 2017-11-29 11:52:26 +11:00
Ian Coleman
e1e131f0f2 Make toCamelInitCase private 2017-06-15 12:36:32 +10:00
Ian Coleman
c888c7b782 Add test for Issue #2 2017-06-15 12:34:40 +10:00
Ian Coleman
202477781d Add test for Issue #1 2017-06-15 12:32:52 +10:00
iancoleman
adbbf08fa6 Merge pull request #3 from jbcpollak/master
added ToLowerCamel(), capitalize characters after -
2017-06-15 10:55:54 +10:00
Joshua Chaitin-Pollak
a2c126df64 fix: capitalize characters after -
feat: created ToLowerCamel() to not capitalize the first letter
2017-06-14 14:26:32 -04:00
Ian Coleman
efa75d0710 Coverage badge 2015-10-16 15:34:13 +11:00
Ian Coleman
26661c31a8 Simpler travis.yml 2015-10-16 15:33:57 +11:00