stringutil

package
v0.0.0-...-7ac0ccb Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const STRING_EMPTY = ""

Variables

This section is empty.

Functions

func AddQuote

func AddQuote(str string) string

add “ Quotes

func AddToComment

func AddToComment(s, suff string) string

add comment

func CleanQuote

func CleanQuote(str string) string

remove ` Quotes

func FormatField

func FormatField(field string, formats []string) string

format field

func IsEmpty

func IsEmpty(s string) bool

check s is empty?

func Reverse

func Reverse(s string) string

string reverse

func ToJson

func ToJson(d interface{}) string

convert interface to json string

func ToUpper

func ToUpper(s string) string

char upper

Types

This section is empty.

Jump to

Keyboard shortcuts

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