mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 17:58:40 +02:00
chore: apply golangci-lint fmt
This commit is contained in:
@@ -13,8 +13,10 @@ type leastConn struct {
|
||||
nConn *xsync.Map[types.LoadBalancerServer, *atomic.Int64]
|
||||
}
|
||||
|
||||
var _ impl = (*leastConn)(nil)
|
||||
var _ customServeHTTP = (*leastConn)(nil)
|
||||
var (
|
||||
_ impl = (*leastConn)(nil)
|
||||
_ customServeHTTP = (*leastConn)(nil)
|
||||
)
|
||||
|
||||
func (lb *LoadBalancer) newLeastConn() impl {
|
||||
return &leastConn{
|
||||
|
||||
Reference in New Issue
Block a user