efair / goconf

Automatically exported from code.google.com/p/goconf
0 stars 0 forks source link

os.Error removed in Go 1 #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. $ go get code.google.com/p/goconf

What is the expected output? What do you see instead?
../../../code.google.com/p/goconf/get.go:38: undefined: os.Error
../../../code.google.com/p/goconf/get.go:86: undefined: os.Error
../../../code.google.com/p/goconf/get.go:108: undefined: os.Error
../../../code.google.com/p/goconf/get.go:148: undefined: os.Error
../../../code.google.com/p/goconf/get.go:162: undefined: os.Error
../../../code.google.com/p/goconf/get.go:177: undefined: os.Error
../../../code.google.com/p/goconf/read.go:13: undefined: os.Error
../../../code.google.com/p/goconf/read.go:32: undefined: os.Error
../../../code.google.com/p/goconf/read.go:45: undefined: os.Error
../../../code.google.com/p/goconf/write.go:12: undefined: os.Error
../../../code.google.com/p/goconf/write.go:12: too many errors

Patch attached produced by "go fix" and hand-changing String methods to Error, 
as per http://golang.org/doc/go1.html#errors. Also included is lots of hacking 
to make "go test" actually run. The test still fails, but I will report another 
issue, as I'm not familiar enough with the codebase to track the issue down.

Original issue reported on code.google.com by jshholland on 29 Mar 2012 at 5:09

Attachments:

GoogleCodeExporter commented 8 years ago
Updated to go1

Original comment by step...@q5comm.com on 8 May 2012 at 7:51