microsoft / go-winio

Win32 IO-related utilities for Go
MIT License
953 stars 181 forks source link

ErrTimeout should be aliased to os.ErrDeadlineExceeded for OS interop #321

Open keithmattix opened 1 month ago

keithmattix commented 1 month ago

Golang already has os.ErrDeadlineExceeded which exactly maps to the "io/timeout". This library should use that instead of creating a custom error type