yaml

package
v0.0.0-...-b99738b Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

convenience utility wrappers for yaml

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstLineComment

func FirstLineComment(data []byte) string

func FirstLineIs

func FirstLineIs(data []byte, line string) bool

func Marshal

func Marshal(v interface{}) ([]byte, error)

func Print

func Print(v interface{}) error

func ReadFile

func ReadFile(file string, v interface{}) error

func Unmarshal

func Unmarshal(data []byte, v interface{}) error

func Write

func Write(writer io.Writer, v interface{}) error

func WriteFile

func WriteFile(v interface{}, file string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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