mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-02-05 07:45:23 -05:00
unified import path
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package assert
|
||||
|
||||
import (
|
||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||
v2net "v2ray.com/core/common/net"
|
||||
)
|
||||
|
||||
func (this *Assert) Address(value v2net.Address) *AddressSubject {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package assert
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/common/serial"
|
||||
"v2ray.com/core/common/serial"
|
||||
)
|
||||
|
||||
func (this *Assert) Byte(value byte) *ByteSubject {
|
||||
|
||||
@@ -3,7 +3,7 @@ package assert
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
"github.com/v2ray/v2ray-core/common/serial"
|
||||
"v2ray.com/core/common/serial"
|
||||
)
|
||||
|
||||
func (this *Assert) Bytes(value []byte) *BytesSubject {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package assert
|
||||
|
||||
import (
|
||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||
v2net "v2ray.com/core/common/net"
|
||||
)
|
||||
|
||||
func (this *Assert) Destination(value v2net.Destination) *DestinationSubject {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package assert
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/common/serial"
|
||||
"v2ray.com/core/common/serial"
|
||||
)
|
||||
|
||||
func (this *Assert) Int64(value int64) *Int64Subject {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package assert
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/common/serial"
|
||||
"v2ray.com/core/common/serial"
|
||||
)
|
||||
|
||||
func (this *Assert) Int(value int) *IntSubject {
|
||||
|
||||
@@ -3,7 +3,7 @@ package assert
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
"github.com/v2ray/v2ray-core/common/serial"
|
||||
"v2ray.com/core/common/serial"
|
||||
)
|
||||
|
||||
func (this *Assert) Pointer(value interface{}) *PointerSubject {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package assert
|
||||
|
||||
import (
|
||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||
v2net "v2ray.com/core/common/net"
|
||||
)
|
||||
|
||||
func (this *Assert) Port(value v2net.Port) *PortSubject {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package assert
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/common/serial"
|
||||
"v2ray.com/core/common/serial"
|
||||
)
|
||||
|
||||
func (this *Assert) Uint16(value uint16) *Uint16Subject {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package assert
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/common/serial"
|
||||
"v2ray.com/core/common/serial"
|
||||
)
|
||||
|
||||
func (this *Assert) Uint32(value uint32) *Uint32Subject {
|
||||
|
||||
Reference in New Issue
Block a user