utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommonInitialisms added in v0.0.8

func CommonInitialisms(s string) string

CommonInitialisms 替换专有名词

func IsMatch added in v0.2.1

func IsMatch(pattern, str string) bool

func ParseDsn added in v0.2.1

func ParseDsn(dsn string) (driverName, newDsn string, err error)

func PrintGreen

func PrintGreen(s string)

func PrintRed

func PrintRed(s string)

func PrintRedf added in v0.2.1

func PrintRedf(format string, a ...interface{})

func PrintYellow

func PrintYellow(s string)

func Underline2UpperCamelCase

func Underline2UpperCamelCase(s string) string

Underline2UpperCamelCase hump naming after prefix to upper

Types

This section is empty.

Jump to

Keyboard shortcuts

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