camelcase2underscore

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Camelcase2Underscore

func Camelcase2Underscore(s string) string

Camelcase2Underscore converts a camelcase style string to an underscore style string.

Types

type Replacer

type Replacer struct{}

Replacer is similar to a string.replacer

func NewReplacer

func NewReplacer() *Replacer

NewReplacer creates a string replacer.

func (*Replacer) Replace

func (*Replacer) Replace(s string) string

Replace returns a copy of s with all replacements performed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL