utils

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsJSON

func IsJSON(data []byte) bool

func JSONToYAML

func JSONToYAML(data []byte) ([]byte, error)

func ParseJsonnet

func ParseJsonnet(filename string, data []byte) ([]byte, error)

func PrettyJSON

func PrettyJSON(data []byte) string

func YAMLToJSON

func YAMLToJSON(data []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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