Skip to content

MrEhbr/str

str

Go License codecov Made by Alexey Burmistrov

Install

go get -u github.com/MrEhbr/str

Usage

import "github.com/MrEhbr/str"

str.ToCamelCase

Transform string to camel case

str.ToCamelCase("foo_bar", true) // FooBar

str.ToSnackCase

Transform string to snack case

str.ToSnackCase("Foo_bar", false) // foo_bar

License

© 2022 [Alexey Burmistrov]

Licensed under the Apache License, Version 2.0 (LICENSE). See the COPYRIGHT file for more details.

SPDX-License-Identifier: Apache-2.0

About

helper functions to work with strings

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks