helpers

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(files ...string) error

Clean removes all the files

func IsSupportedOutputFormat

func IsSupportedOutputFormat(format string) bool

IsSupportedOutputFormat checks if the given output format is a supported one

func Write

func Write(w io.Writer, files map[string][]byte) error

Write the files to the writer, the caller is in charge of closing the writer

func WriteToFile

func WriteToFile(files map[string][]byte) error

WriteToFile writes the files to the specified file paths. The function handles its writers

Types

This section is empty.

Jump to

Keyboard shortcuts

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