conversion

package
v1.12.2-pre1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringNullIfEmpty

func StringNullIfEmpty(v string) types.String

StringNullIfEmpty converts a string value to a Framework String value. An empty string is converted to a null String. Useful for optional attributes.

func StringPtrNullIfEmpty

func StringPtrNullIfEmpty(p *string) types.String

StringPtrNullIfEmpty is similar to StringNullIfEmpty but can also handle nil string pointers.

func TypesListToString

func TypesListToString(ctx context.Context, set types.List) []string

func TypesSetToString

func TypesSetToString(ctx context.Context, set types.Set) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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