Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffPrettyText

func DiffPrettyText(a, b string) string

func ExpandPath added in v0.7.0

func ExpandPath(path string) (string, error)

func JSONEqual

func JSONEqual(a interface{}, b interface{}) bool

func JSONValue

func JSONValue(o interface{}) []byte

func ReplaceNewLine

func ReplaceNewLine(s string) string

func ShortHomePath added in v0.12.0

func ShortHomePath(path string) string

func StringInterfaceMapEqual

func StringInterfaceMapEqual(a map[string]interface{}, b map[string]interface{}) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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