Skip to content
/ snakecase Public

Go library for converting given string to snake case

License

Notifications You must be signed in to change notification settings

azer/snakecase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake-case

Convert given string to snake-case. (Original Code) by @elwinar

Install

go get github.com/azer/snakecase

Usage Example

import (
  "github.com/azer/snakecase"
)

snakecase.SnakeCase("APIResponse")
// => api_response

snakecase.SnakeCase("Hello World")
// => hello_world

snakecase.SnakeCase("CreateDB")
// => create_db

About

Go library for converting given string to snake case

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages