ioutil

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 52

Documentation

Overview

Package ioutil contains functions for writing directories and files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exist added in v0.4.0

func Exist(path string) bool

Exist returns true if path exists, otherwise false.

func MkdirAll

func MkdirAll(path string) error

MkdirAll makes all the directories in path.

func WriteExeFile added in v1.2.3

func WriteExeFile(path string, data []byte) error

WriteExeFile creates all the non-existent directories in path before writing data to an executable file, path.

func WriteFile

func WriteFile(path string, data []byte) error

WriteFile creates all the non-existent directories in path before writing data to a non-executable file, path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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