convert

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HCLToJSON

func HCLToJSON(raw []byte) ([]byte, error)

HCLToJSON converts HCL to JSON.

func HCLToYAML

func HCLToYAML(raw []byte) ([]byte, error)

HCLToYAML converts HCL to YAML.

func JSONToHCL

func JSONToHCL(raw []byte) ([]byte, error)

JSONToHCL converts JSON to HCL.

func JSONToYAML

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

JSONToYAML converts JSON to YAML.

func YAMLToHCL

func YAMLToHCL(raw []byte) ([]byte, error)

YAMLToHCL converts YAML to HCL.

func YAMLToJSON

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

YAMLToJSON converts YAML to JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳