utils

package
v0.81.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyCasingPascalCase = "PASCAL_CASE"
	KeyCasingCamelCase  = "CAMEL_CASE"
	KeyCasingSnakeCase  = "SNAKE_CASE"
)

Variables

This section is empty.

Functions

func GetSerialKey

func GetSerialKey(field *reflect.StructField, keyCasing string) string

func IsEmptyMessage

func IsEmptyMessage(t reflect.Type) bool

func IsNullableType

func IsNullableType(t reflect.Type) bool

func IsNullableTypeOrPointer

func IsNullableTypeOrPointer(t reflect.Type) bool

func IsOptionalType

func IsOptionalType(t reflect.Type) bool

func NullableHasValue

func NullableHasValue(val *reflect.Value) bool

func OptionalHasValue

func OptionalHasValue(value *reflect.Value) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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