~emersion/soju

ref: ce19f76673b5bfd369766f6696e042b0a8df7691 soju/net_go116.go -rw-r--r-- 154 bytes
ce19f766Simon Ser database/postgres: fix inverted networkID check in ListWebPushSubscriptions 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
//go:build go1.16
// +build go1.16

package soju

import (
	"errors"
	"net"
)

func isErrClosed(err error) bool {
	return errors.Is(err, net.ErrClosed)
}