package
1.1.10
Repository: https://github.com/fossas/fossa-cli.git
Documentation: pkg.go.dev

# Functions

ReadJSON reads and unmarshals a file as if it contained JSON.
ReadTOML reads and unmarshals a file as if it contained TOML.
ReadUnmarshal reads a file and then unmarshals its contents using an UnmarshalFunc.
ReadXML reads and unmarshals a file as if it contained XML.
ReadYAML reads and unmarshals a file as if it contained YAML.
WalkUp takes a starting directory and a WalkUpFunc, and calls the function, passing each ancestor of the starting directory in upwards order until the filesystem root is reached.

# Variables

# Type aliases

An UnmarshalFunc is a function for unmarshalling bytes into values.
A WalkUpFunc takes a directory and returns an error.