diff options
author | Rob Pike <r@golang.org> | 2009-12-02 22:02:14 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-12-02 22:02:14 -0800 |
commit | 9599e35e75f3bf5223edd9b0a0854536c23cdef2 (patch) | |
tree | c8ce48aeddfe892be3754b0aa74217b4eb6d1e57 /src/pkg/time | |
parent | 0247d93d819700b0bfc6814dc7b1c2afec4648a0 (diff) | |
download | golang-9599e35e75f3bf5223edd9b0a0854536c23cdef2.tar.gz |
move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.
this breaks the dependency of package io on package bytes.
R=rsc
CC=golang-dev
http://codereview.appspot.com/163085
Diffstat (limited to 'src/pkg/time')
-rw-r--r-- | src/pkg/time/zoneinfo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/time/zoneinfo.go b/src/pkg/time/zoneinfo.go index 40f8f0feb..8d8048aa0 100644 --- a/src/pkg/time/zoneinfo.go +++ b/src/pkg/time/zoneinfo.go @@ -10,7 +10,7 @@ package time import ( - "io"; + "io/ioutil"; "once"; "os"; ) @@ -195,7 +195,7 @@ func parseinfo(bytes []byte) (zt []zonetime, ok bool) { } func readinfofile(name string) ([]zonetime, bool) { - buf, err := io.ReadFile(name); + buf, err := ioutil.ReadFile(name); if err != nil { return nil, false } |