go: github.com/shurcooL/go/ioutil Index | Files

package ioutil

import "github.com/shurcooL/go/ioutil"

Package ioutil provides a WriteFile func with an io.Reader as input.

Index

Package Files

ioutil.go

func WriteFile Uses

func WriteFile(filename string, r io.Reader) error

WriteFile copies from r to a file named by filename. If the file does not exist, WriteFile creates it with permissions 0644; otherwise WriteFile truncates it before writing.

Package ioutil imports 2 packages (graph) and is imported by 3 packages. Updated 2016-07-21. Refresh now. Tools for package owners.