file

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 4 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 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