New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/bingoohuang/strcase

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/bingoohuang/strcase

  • v0.0.0-20200312105414-ac2c85cfc85d
  • Source
  • Go
  • Socket score

Version published
Created
Source

strcase

Godoc Reference Build Status Coverage Go Report Card

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

Example

sFunctionResult
AnyKind of string v5ToSnake(s)any_kind_of_string_v5
AnyKind of string v5ToSnakeUpper(s)ANY_KIND_OF_STRING_V5
AnyKind of string v5ToKebab(s)any-kind-of-string-v5
AnyKind of string v5ToKebabUpper(s)ANY-KIND-OF-STRING5-V5
AnyKind of string v5ToDelimited(s, '.')any.kind.of.string.v5
AnyKind of string v5ToDelimitedUpper(s, '.')ANY.KIND.OF.STRING.V5
AnyKind of string v5ToCamel(s)AnyKindOfStringV5
mySQLToCamel(s)MySql
AnyKind of string v5ToCamelLower(s)anyKindOfStringV5
IDToCamelLower(s)id
SQLMapToCamelLower(s)sqlMap
TestCaseToCamelLower(s)fooBar
foo-barToCamelLower(s)fooBar
foo_barToCamelLower(s)fooBar

FAQs

Package last updated on 12 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc