conv

package
v0.0.0-...-37ca617 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B2I

func B2I[T int | int8 | int16 | int32 | int64](b bool) T

func B2S

func B2S(b []byte) string

func I2B

func I2B[T int | int8 | int16 | int32 | int64](i T) bool

func S2B

func S2B(s string) []byte

func ToCamelCase

func ToCamelCase(snake_case string) string

func ToPtr

func ToPtr[T any](v T) *T

func TrimSpacePrefix

func TrimSpacePrefix(s string) string

func TypeOf

func TypeOf(v interface{}, trimPackage ...bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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