github.com/sandwich-go/boost@v1.3.29/xconv/interface.go (about)

     1  package xconv
     2  
     3  // iInt64 is used for type assert api for Int64().
     4  type iInt64 interface {
     5  	Int64() int64
     6  }
     7  
     8  // iUint64 is used for type assert api for Int64().
     9  type iUint64 interface {
    10  	Uint64() uint64
    11  }
    12  
    13  // iFloat64 is used for type assert api for Float64().
    14  type iFloat64 interface {
    15  	Float64() float64
    16  }
    17  
    18  // iFloat32 is used for type assert api for Float32().
    19  type iFloat32 interface {
    20  	Float32() float32
    21  }
    22  
    23  // iString is used for type assert api for String().
    24  type iString interface {
    25  	String() string
    26  }
    27  
    28  // iBool is used for type assert api for Bool().
    29  type iBool interface {
    30  	Bool() bool
    31  }