Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFromPtr ¶
ExtractFromPtr safely dereferences a string pointer, returning empty string for nil. Provides null-safety when working with optional string fields in data structures.
func NonEmptyToPtr ¶
NonEmptyToPtr returns a pointer to the string if it's non-empty, otherwise returns nil. Useful for converting string values to nullable pointers in API structs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.