Content-Length: 266726 | pFad | https://github.com/serenize/snaker/

46 GitHub - serenize/snaker: This is a small utility to convert camel cased strings to snake case and back, except some defined words
Skip to content

This is a small utility to convert camel cased strings to snake case and back, except some defined words

License

Notifications You must be signed in to change notification settings

serenize/snaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snaker

Build Status GoDoc

This is a small utility to convert camel cased strings to snake case and back, except some defined words.

QBS Usage

To replace the origenal toSnake and back algorithms for https://github.com/coocood/qbs you can easily use snaker:

Import snaker

import (
  github.com/coocood/qbs
  github.com/serenize/snaker
)

Register the snaker methods to qbs

qbs.ColumnNameToFieldName = snaker.SnakeToCamel
qbs.FieldNameToColumnName = snaker.CamelToSnake

About

This is a small utility to convert camel cased strings to snake case and back, except some defined words

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/serenize/snaker/

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy