utils

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0, MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmptyString

func IsEmptyString(s *string) bool

IsEmptyString checks whether a string is empty

func SetStringValue

func SetStringValue(values map[string]interface{}, key string, value *string)

SetStringValue sets an optional string value in a string map if the value is defined and not empty

func StringEqual

func StringEqual(a, b *string) bool

StringEqual compares to strings

func StringValue

func StringValue(s *string) string

StringValue returns an empty string (value/ptr)

Types

This section is empty.

Jump to

Keyboard shortcuts

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