file

package
v1.9.24 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustReadContentFile

func MustReadContentFile(filepath string) string

func MustReadJsonFile

func MustReadJsonFile(filepath string, v any)

func MustReadYamlFile

func MustReadYamlFile(filepath string, v any)

func MustToJson

func MustToJson(v any) string

func MustToYaml

func MustToYaml(v any) string

func ReadContentFile

func ReadContentFile(filepath string) ([]byte, error)

func ReadFile

func ReadFile(path string) (string, error)

func ReadJsonFile

func ReadJsonFile(filepath string, v any) error

func ReadYamlFile

func ReadYamlFile(filepath string, v any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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