util

package
v0.2.2-dep3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SonicUseInt64 = sonic.Config{
	UseInt64: true,
}.Froze()

Functions

func ConvertNameCase

func ConvertNameCase(opt meta.NameCase, name string) string

func SplitGoTags

func SplitGoTags(input string) []string

func SplitPrefix

func SplitPrefix(t string) (pkg, name string)

func SplitSubfix

func SplitSubfix(t string) (typ, val string)

func SplitSubfix2

func SplitSubfix2(t string) (typ, val string)

func SplitTagOptions

func SplitTagOptions(tag string) (ret []string, err error)

func ToLowerCamelCase

func ToLowerCamelCase(name string) string

LowerFirstLetter

func ToSnakeCase

func ToSnakeCase(name string) string

ToSnakeCase converts a camelCase string to snake_case.

func ToUpperCamelCase

func ToUpperCamelCase(name string) string

ToCamelCase converts a snake_case string to camelCase.

Types

This section is empty.

Jump to

Keyboard shortcuts

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