api/vendor/github.com/iancoleman/strcase
konrad 0ba121fdfb Task filters (#243)
Fix not returning errors

Fix integration tests

Add more tests

Make task filtering actually work

Change tests

Fix using filter conditions

Fix test

Remove unused fields

Fix static check

Remove start and end date fields on task collection

Fix misspell

add filter logic when getting tasks

Add parsing filter query parameters into task filters

Start adding support for filters

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#243
2020-04-11 14:20:33 +00:00
..
.travis.yml Task filters (#243) 2020-04-11 14:20:33 +00:00
LICENSE Task filters (#243) 2020-04-11 14:20:33 +00:00
README.md Task filters (#243) 2020-04-11 14:20:33 +00:00
acronyms.go Task filters (#243) 2020-04-11 14:20:33 +00:00
camel.go Task filters (#243) 2020-04-11 14:20:33 +00:00
doc.go Task filters (#243) 2020-04-11 14:20:33 +00:00
numbers.go Task filters (#243) 2020-04-11 14:20:33 +00:00
snake.go Task filters (#243) 2020-04-11 14:20:33 +00:00

README.md

strcase

Godoc Reference Build Status Coverage Go Report Card

strcase is a go package for converting string case to various cases (e.g. snake case or camel case) to see the full conversion table below.

Example

s := "AnyKind of_string"
Function Result
ToSnake(s) any_kind_of_string
ToSnakeWithIgnore(s, '.') any_kind.of_string
ToScreamingSnake(s) ANY_KIND_OF_STRING
ToKebab(s) any-kind-of-string
ToScreamingKebab(s) ANY-KIND-OF-STRING
ToDelimited(s, '.') any.kind.of.string
ToScreamingDelimited(s, '.', '', true) ANY.KIND.OF.STRING
ToScreamingDelimited(s, '.', ' ', true) ANY.KIND OF.STRING
ToCamel(s) AnyKindOfString
ToLowerCamel(s) anyKindOfString

Install

go get -u github.com/iancoleman/strcase