file

package
v0.0.0-...-fb3792a Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package file provides utility file operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenReadFile

func OpenReadFile(name string) io.ReadCloser

OpenReadFile is like os.Open.

func ReadFile

func ReadFile(name string) ([]byte, os.FileInfo, error)

ReadFile is like ioutil.ReadFile.

func WriteFile

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

WriteFile is like ioutil.WriteFile

Types

This section is empty.

Jump to

Keyboard shortcuts

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