• Rob Pike's avatar
    os: delete os.EINVAL and so on · 56069f03
    Rob Pike authored
    The set of errors forwarded by the os package varied with system and
    was therefore non-portable.
    Three helpers added for portable error checking: IsExist, IsNotExist, and IsPermission.
    One or two more may need to come, but let's keep the set very small to discourage
    thinking about errors that way.
    
    R=mikioh.mikioh, gustavo, r, rsc
    CC=golang-dev
    https://golang.org/cl/5672047
    56069f03
go_tutorial.tmpl 43.6 KB