xconvert

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 14 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bin added in v0.0.5

func Bin(num int) string

Bin ...

func CopyStructByJSON

func CopyStructByJSON(src, dst interface{}) error

CopyStructByJSON ...

func CopyStructByReflect

func CopyStructByReflect(src, dst interface{})

CopyStructByReflect ...

func Hex2Color added in v0.0.2

func Hex2Color(s string) color.Color

Hex2Color ...

func Hex2RGB added in v0.0.2

func Hex2RGB(s string) (int, int, int)

Hex2RGB ...

func RGB2Hex added in v0.0.2

func RGB2Hex(r, g, b int) string

RGB2Hex ...

func Title added in v0.0.5

func Title(s string) string

Title ...

func ToCamelCase

func ToCamelCase(s string) string

ToCamelCase ...

func ToSnakeCase

func ToSnakeCase(s string) string

ToSnakeCase ...

func XML2Object added in v0.0.5

func XML2Object(s string) (m map[string]string, err error)

XML2Object ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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