fswrite

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSWrite

type FSWrite struct{}

func (*FSWrite) MkdirAll

func (*FSWrite) MkdirAll(path string, perm os.FileMode) error

MkdirAll wraps os.MkdirAll.

func (*FSWrite) WriteFile

func (*FSWrite) WriteFile(filename string, data string, perm os.FileMode) error

WriteFile wraps ioutil.WriteFile.

type FSWriteIface

type FSWriteIface interface {
	WriteFile(filename string, data string, perm os.FileMode) error
	MkdirAll(path string, perm os.FileMode) error
}

Jump to

Keyboard shortcuts

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