falcon_util

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DerefInt32 added in v0.2.32

func DerefInt32(i *int32) int32

DerefInt returns the deferenced int32 value or 0 if nil.

func DerefString added in v0.2.32

func DerefString(s *string) string

DerefString returns the deferenced string value or empty string if nil.

func PrettyJson

func PrettyJson(obj interface{}) (string, error)

PrettyJson converts given interface to prettified json. Useful for debugging.

func PromptUser added in v0.2.8

func PromptUser(prompt string) string

func StrPtr added in v0.2.32

func StrPtr(s string) *string

StrPtr creates a string pointer from a string literal, for APIs that require pointers rather than values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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