io

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) (bool, error)

func RemoveFile added in v1.1.0

func RemoveFile(file string)

func SwitchToMemMap added in v1.0.3

func SwitchToMemMap() afero.Fs

func ToDirs

func ToDirs(path string)

func ToEmptyFile

func ToEmptyFile(path, filename string, data []byte)

func ToFile

func ToFile(path, filename string, data []byte)

func ToSpecs

func ToSpecs(path string) (*types.Specs, error)

func TplToFile

func TplToFile(tmpl *template.Template, tpl string, path string, name string, data any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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