gofix error
This commit is contained in:
parent
efcb2b8d06
commit
468e190b33
4
README
4
README
|
@ -34,9 +34,9 @@ generated go file.
|
|||
declaration with name 'main' and one function named 'gophercolor_png'.
|
||||
It looks like this:
|
||||
|
||||
func gophercolor_png() ([]byte, os.Error) {
|
||||
func gophercolor_png() ([]byte, error) {
|
||||
var gz *gzip.Decompressor
|
||||
var err os.Error
|
||||
var err error
|
||||
if gz, err = gzip.NewReader(bytes.NewBuffer([]byte{
|
||||
...
|
||||
})); err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user