Documentation ¶ Index ¶ func Encode(filePath string, a any) error func Path(rel string) string func Read(filepath string) ([]byte, error) func Write(filepath string, data []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Encode ¶ func Encode(filePath string, a any) error func Path ¶ func Path(rel string) string Path returns the absolute path the given relative file or directory path, relative to the "fixtures" directory. If rel is already absolute, it is returned unmodified. func Read ¶ func Read(filepath string) ([]byte, error) func Write ¶ func Write(filepath string, data []byte) error Types ¶ This section is empty. Source Files ¶ View all Source files fixtures.go Click to show internal directories. Click to hide internal directories.