mirror of https://github.com/jackc/pgx.git
Use unix build tag
With Go 1.19 available we can use a simpler build tag.pull/1490/head
parent
766d2bba4f
commit
cf78472ce5
|
@ -1,9 +1,7 @@
|
|||
//go:build !(aix || android || darwin || dragonfly || freebsd || hurd || illumos || ios || linux || netbsd || openbsd || solaris)
|
||||
//go:build !unix
|
||||
|
||||
package nbconn
|
||||
|
||||
// Not using unix build tag for support on Go 1.18.
|
||||
|
||||
func (c *NetConn) realNonblockingWrite(b []byte) (n int, err error) {
|
||||
return c.fakeNonblockingWrite(b)
|
||||
}
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
//go:build aix || android || darwin || dragonfly || freebsd || hurd || illumos || ios || linux || netbsd || openbsd || solaris
|
||||
//go:build unix
|
||||
|
||||
package nbconn
|
||||
|
||||
// Not using unix build tag for support on Go 1.18.
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"io"
|
||||
|
|
Loading…
Reference in New Issue