mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 11:29:36 +03:00
Remove compatibility code
The minimum support go version is already 1.18
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
//go:build go1.18
|
||||
|
||||
package outbound
|
||||
|
||||
import (
|
||||
|
@ -1,15 +0,0 @@
|
||||
//go:build !go1.18
|
||||
|
||||
package outbound
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
|
||||
"github.com/xtls/xray-core/common/net"
|
||||
"github.com/xtls/xray-core/transport/internet/stat"
|
||||
)
|
||||
|
||||
func (h *Handler) getUoTConnection(ctx context.Context, dest net.Destination) (stat.Connection, error) {
|
||||
return nil, os.ErrInvalid
|
||||
}
|
Reference in New Issue
Block a user