interp: add support of interface wrappers to type assertions
Store the interpreter value of the interface object to wrap as a field called IValue, at offset 0 in wrapper structures. Update extract to include IValue field. In typeAssert, detect interface wrapper, and dereference the interpreter value from IValue wrapper field. Fixes #1166.
This commit is contained in:
24
_test/issue-1166.go
Normal file
24
_test/issue-1166.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
)
|
||||
|
||||
type T []byte
|
||||
|
||||
func (t *T) Write(p []byte) (n int, err error) { *t = append(*t, p...); return len(p), nil }
|
||||
|
||||
func foo(w io.Writer) {
|
||||
a := w.(*T)
|
||||
fmt.Fprint(a, "test")
|
||||
fmt.Printf("%s\n", *a)
|
||||
}
|
||||
|
||||
func main() {
|
||||
x := T{}
|
||||
foo(&x)
|
||||
}
|
||||
|
||||
// Output:
|
||||
// test
|
||||
@@ -74,6 +74,7 @@ func init() {
|
||||
{{range $key, $value := .Wrap -}}
|
||||
// {{$value.Name}} is an interface wrapper for {{$key}} type
|
||||
type {{$value.Name}} struct {
|
||||
IValue interface{}
|
||||
{{range $m := $value.Method -}}
|
||||
W{{$m.Name}} func{{$m.Param}} {{$m.Result}}
|
||||
{{end}}
|
||||
|
||||
@@ -112,7 +112,8 @@ func init() {
|
||||
|
||||
// _guthib_com_variadic_Variadic is an interface wrapper for Variadic type
|
||||
type _guthib_com_variadic_Variadic struct {
|
||||
WCall func(method string, args ...[]interface{}) (interface{}, error)
|
||||
IValue interface{}
|
||||
WCall func(method string, args ...[]interface{}) (interface{}, error)
|
||||
}
|
||||
|
||||
func (W _guthib_com_variadic_Variadic) Call(method string, args ...[]interface{}) (interface{}, error) {
|
||||
|
||||
@@ -203,6 +203,7 @@ func init() { Symbols[selfPath]["Symbols"] = reflect.ValueOf(Symbols) }
|
||||
|
||||
// _error is a wrapper of error interface type.
|
||||
type _error struct {
|
||||
IValue interface{}
|
||||
WError func() string
|
||||
}
|
||||
|
||||
|
||||
@@ -421,6 +421,10 @@ func typeAssert(n *node, withResult, withOk bool) {
|
||||
return next
|
||||
}
|
||||
v = valueInterfaceValue(v)
|
||||
if vt := v.Type(); vt.Kind() == reflect.Struct && vt.Field(0).Name == "IValue" {
|
||||
// Value is retrieved from an interface wrapper.
|
||||
v = v.Field(0).Elem()
|
||||
}
|
||||
ok = canAssertTypes(v.Type(), rtype)
|
||||
if !ok {
|
||||
if !withOk {
|
||||
@@ -997,15 +1001,16 @@ func genInterfaceWrapper(n *node, typ reflect.Type) func(*frame) reflect.Value {
|
||||
}
|
||||
}
|
||||
w := reflect.New(wrap).Elem()
|
||||
w.Field(0).Set(v)
|
||||
for i, m := range methods {
|
||||
if m == nil {
|
||||
if r := v.MethodByName(names[i]); r.IsValid() {
|
||||
w.Field(i).Set(r)
|
||||
w.Field(i + 1).Set(r)
|
||||
continue
|
||||
}
|
||||
o := vv.FieldByIndex(indexes[i])
|
||||
if r := o.MethodByName(names[i]); r.IsValid() {
|
||||
w.Field(i).Set(r)
|
||||
w.Field(i + 1).Set(r)
|
||||
} else {
|
||||
log.Println(n.cfgErrorf("genInterfaceWrapper error, no method %s", names[i]))
|
||||
}
|
||||
@@ -1013,7 +1018,7 @@ func genInterfaceWrapper(n *node, typ reflect.Type) func(*frame) reflect.Value {
|
||||
}
|
||||
nod := *m
|
||||
nod.recv = &receiver{n, v, indexes[i]}
|
||||
w.Field(i).Set(genFunctionWrapper(&nod)(f))
|
||||
w.Field(i + 1).Set(genFunctionWrapper(&nod)(f))
|
||||
}
|
||||
return w
|
||||
}
|
||||
@@ -1084,6 +1089,8 @@ func call(n *node) {
|
||||
values = append(values, genValue(c))
|
||||
case isInterfaceSrc(arg):
|
||||
values = append(values, genValueInterface(c))
|
||||
case isInterfaceBin(arg):
|
||||
values = append(values, genInterfaceWrapper(c, arg.rtype))
|
||||
case isRecursiveType(c.typ, c.typ.rtype):
|
||||
values = append(values, genValueRecursiveInterfacePtrValue(c))
|
||||
default:
|
||||
|
||||
@@ -1176,6 +1176,9 @@ func (t *itype) id() (res string) {
|
||||
case variadicT:
|
||||
res = "..." + t.val.id()
|
||||
}
|
||||
if res == "" {
|
||||
res = t.TypeOf().String()
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ func init() {
|
||||
|
||||
// _compress_flate_Reader is an interface wrapper for Reader type
|
||||
type _compress_flate_Reader struct {
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WReadByte func() (byte, error)
|
||||
}
|
||||
@@ -51,6 +52,7 @@ func (W _compress_flate_Reader) ReadByte() (byte, error) { return W.WRe
|
||||
|
||||
// _compress_flate_Resetter is an interface wrapper for Resetter type
|
||||
type _compress_flate_Resetter struct {
|
||||
IValue interface{}
|
||||
WReset func(r io.Reader, dict []byte) error
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ func init() {
|
||||
|
||||
// _compress_zlib_Resetter is an interface wrapper for Resetter type
|
||||
type _compress_zlib_Resetter struct {
|
||||
IValue interface{}
|
||||
WReset func(r io.Reader, dict []byte) error
|
||||
}
|
||||
|
||||
|
||||
@@ -28,11 +28,12 @@ func init() {
|
||||
|
||||
// _container_heap_Interface is an interface wrapper for Interface type
|
||||
type _container_heap_Interface struct {
|
||||
WLen func() int
|
||||
WLess func(i int, j int) bool
|
||||
WPop func() interface{}
|
||||
WPush func(x interface{})
|
||||
WSwap func(i int, j int)
|
||||
IValue interface{}
|
||||
WLen func() int
|
||||
WLess func(i int, j int) bool
|
||||
WPop func() interface{}
|
||||
WPush func(x interface{})
|
||||
WSwap func(i int, j int)
|
||||
}
|
||||
|
||||
func (W _container_heap_Interface) Len() int { return W.WLen() }
|
||||
|
||||
@@ -33,6 +33,7 @@ func init() {
|
||||
|
||||
// _context_Context is an interface wrapper for Context type
|
||||
type _context_Context struct {
|
||||
IValue interface{}
|
||||
WDeadline func() (deadline time.Time, ok bool)
|
||||
WDone func() <-chan struct{}
|
||||
WErr func() error
|
||||
|
||||
@@ -55,6 +55,7 @@ func init() {
|
||||
|
||||
// _crypto_Decrypter is an interface wrapper for Decrypter type
|
||||
type _crypto_Decrypter struct {
|
||||
IValue interface{}
|
||||
WDecrypt func(rand io.Reader, msg []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error)
|
||||
WPublic func() crypto.PublicKey
|
||||
}
|
||||
@@ -66,18 +67,22 @@ func (W _crypto_Decrypter) Public() crypto.PublicKey { return W.WPublic() }
|
||||
|
||||
// _crypto_DecrypterOpts is an interface wrapper for DecrypterOpts type
|
||||
type _crypto_DecrypterOpts struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _crypto_PrivateKey is an interface wrapper for PrivateKey type
|
||||
type _crypto_PrivateKey struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _crypto_PublicKey is an interface wrapper for PublicKey type
|
||||
type _crypto_PublicKey struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _crypto_Signer is an interface wrapper for Signer type
|
||||
type _crypto_Signer struct {
|
||||
IValue interface{}
|
||||
WPublic func() crypto.PublicKey
|
||||
WSign func(rand io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error)
|
||||
}
|
||||
@@ -89,6 +94,7 @@ func (W _crypto_Signer) Sign(rand io.Reader, digest []byte, opts crypto.SignerOp
|
||||
|
||||
// _crypto_SignerOpts is an interface wrapper for SignerOpts type
|
||||
type _crypto_SignerOpts struct {
|
||||
IValue interface{}
|
||||
WHashFunc func() crypto.Hash
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ func init() {
|
||||
|
||||
// _crypto_cipher_AEAD is an interface wrapper for AEAD type
|
||||
type _crypto_cipher_AEAD struct {
|
||||
IValue interface{}
|
||||
WNonceSize func() int
|
||||
WOpen func(dst []byte, nonce []byte, ciphertext []byte, additionalData []byte) ([]byte, error)
|
||||
WOverhead func() int
|
||||
@@ -57,6 +58,7 @@ func (W _crypto_cipher_AEAD) Seal(dst []byte, nonce []byte, plaintext []byte, ad
|
||||
|
||||
// _crypto_cipher_Block is an interface wrapper for Block type
|
||||
type _crypto_cipher_Block struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WDecrypt func(dst []byte, src []byte)
|
||||
WEncrypt func(dst []byte, src []byte)
|
||||
@@ -68,6 +70,7 @@ func (W _crypto_cipher_Block) Encrypt(dst []byte, src []byte) { W.WEncrypt(dst,
|
||||
|
||||
// _crypto_cipher_BlockMode is an interface wrapper for BlockMode type
|
||||
type _crypto_cipher_BlockMode struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WCryptBlocks func(dst []byte, src []byte)
|
||||
}
|
||||
@@ -77,6 +80,7 @@ func (W _crypto_cipher_BlockMode) CryptBlocks(dst []byte, src []byte) { W.WCrypt
|
||||
|
||||
// _crypto_cipher_Stream is an interface wrapper for Stream type
|
||||
type _crypto_cipher_Stream struct {
|
||||
IValue interface{}
|
||||
WXORKeyStream func(dst []byte, src []byte)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ func init() {
|
||||
|
||||
// _crypto_elliptic_Curve is an interface wrapper for Curve type
|
||||
type _crypto_elliptic_Curve struct {
|
||||
IValue interface{}
|
||||
WAdd func(x1 *big.Int, y1 *big.Int, x2 *big.Int, y2 *big.Int) (x *big.Int, y *big.Int)
|
||||
WDouble func(x1 *big.Int, y1 *big.Int) (x *big.Int, y *big.Int)
|
||||
WIsOnCurve func(x *big.Int, y *big.Int) bool
|
||||
|
||||
@@ -108,8 +108,9 @@ func init() {
|
||||
|
||||
// _crypto_tls_ClientSessionCache is an interface wrapper for ClientSessionCache type
|
||||
type _crypto_tls_ClientSessionCache struct {
|
||||
WGet func(sessionKey string) (session *tls.ClientSessionState, ok bool)
|
||||
WPut func(sessionKey string, cs *tls.ClientSessionState)
|
||||
IValue interface{}
|
||||
WGet func(sessionKey string) (session *tls.ClientSessionState, ok bool)
|
||||
WPut func(sessionKey string, cs *tls.ClientSessionState)
|
||||
}
|
||||
|
||||
func (W _crypto_tls_ClientSessionCache) Get(sessionKey string) (session *tls.ClientSessionState, ok bool) {
|
||||
|
||||
@@ -60,6 +60,7 @@ func init() {
|
||||
|
||||
// _database_sql_Result is an interface wrapper for Result type
|
||||
type _database_sql_Result struct {
|
||||
IValue interface{}
|
||||
WLastInsertId func() (int64, error)
|
||||
WRowsAffected func() (int64, error)
|
||||
}
|
||||
@@ -69,7 +70,8 @@ func (W _database_sql_Result) RowsAffected() (int64, error) { return W.WRowsAffe
|
||||
|
||||
// _database_sql_Scanner is an interface wrapper for Scanner type
|
||||
type _database_sql_Scanner struct {
|
||||
WScan func(src interface{}) error
|
||||
IValue interface{}
|
||||
WScan func(src interface{}) error
|
||||
}
|
||||
|
||||
func (W _database_sql_Scanner) Scan(src interface{}) error { return W.WScan(src) }
|
||||
|
||||
@@ -98,6 +98,7 @@ func init() {
|
||||
|
||||
// _database_sql_driver_ColumnConverter is an interface wrapper for ColumnConverter type
|
||||
type _database_sql_driver_ColumnConverter struct {
|
||||
IValue interface{}
|
||||
WColumnConverter func(idx int) driver.ValueConverter
|
||||
}
|
||||
|
||||
@@ -107,6 +108,7 @@ func (W _database_sql_driver_ColumnConverter) ColumnConverter(idx int) driver.Va
|
||||
|
||||
// _database_sql_driver_Conn is an interface wrapper for Conn type
|
||||
type _database_sql_driver_Conn struct {
|
||||
IValue interface{}
|
||||
WBegin func() (driver.Tx, error)
|
||||
WClose func() error
|
||||
WPrepare func(query string) (driver.Stmt, error)
|
||||
@@ -120,6 +122,7 @@ func (W _database_sql_driver_Conn) Prepare(query string) (driver.Stmt, error) {
|
||||
|
||||
// _database_sql_driver_ConnBeginTx is an interface wrapper for ConnBeginTx type
|
||||
type _database_sql_driver_ConnBeginTx struct {
|
||||
IValue interface{}
|
||||
WBeginTx func(ctx context.Context, opts driver.TxOptions) (driver.Tx, error)
|
||||
}
|
||||
|
||||
@@ -129,6 +132,7 @@ func (W _database_sql_driver_ConnBeginTx) BeginTx(ctx context.Context, opts driv
|
||||
|
||||
// _database_sql_driver_ConnPrepareContext is an interface wrapper for ConnPrepareContext type
|
||||
type _database_sql_driver_ConnPrepareContext struct {
|
||||
IValue interface{}
|
||||
WPrepareContext func(ctx context.Context, query string) (driver.Stmt, error)
|
||||
}
|
||||
|
||||
@@ -138,6 +142,7 @@ func (W _database_sql_driver_ConnPrepareContext) PrepareContext(ctx context.Cont
|
||||
|
||||
// _database_sql_driver_Connector is an interface wrapper for Connector type
|
||||
type _database_sql_driver_Connector struct {
|
||||
IValue interface{}
|
||||
WConnect func(a0 context.Context) (driver.Conn, error)
|
||||
WDriver func() driver.Driver
|
||||
}
|
||||
@@ -149,13 +154,15 @@ func (W _database_sql_driver_Connector) Driver() driver.Driver { return W.WDrive
|
||||
|
||||
// _database_sql_driver_Driver is an interface wrapper for Driver type
|
||||
type _database_sql_driver_Driver struct {
|
||||
WOpen func(name string) (driver.Conn, error)
|
||||
IValue interface{}
|
||||
WOpen func(name string) (driver.Conn, error)
|
||||
}
|
||||
|
||||
func (W _database_sql_driver_Driver) Open(name string) (driver.Conn, error) { return W.WOpen(name) }
|
||||
|
||||
// _database_sql_driver_DriverContext is an interface wrapper for DriverContext type
|
||||
type _database_sql_driver_DriverContext struct {
|
||||
IValue interface{}
|
||||
WOpenConnector func(name string) (driver.Connector, error)
|
||||
}
|
||||
|
||||
@@ -165,7 +172,8 @@ func (W _database_sql_driver_DriverContext) OpenConnector(name string) (driver.C
|
||||
|
||||
// _database_sql_driver_Execer is an interface wrapper for Execer type
|
||||
type _database_sql_driver_Execer struct {
|
||||
WExec func(query string, args []driver.Value) (driver.Result, error)
|
||||
IValue interface{}
|
||||
WExec func(query string, args []driver.Value) (driver.Result, error)
|
||||
}
|
||||
|
||||
func (W _database_sql_driver_Execer) Exec(query string, args []driver.Value) (driver.Result, error) {
|
||||
@@ -174,6 +182,7 @@ func (W _database_sql_driver_Execer) Exec(query string, args []driver.Value) (dr
|
||||
|
||||
// _database_sql_driver_ExecerContext is an interface wrapper for ExecerContext type
|
||||
type _database_sql_driver_ExecerContext struct {
|
||||
IValue interface{}
|
||||
WExecContext func(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
|
||||
}
|
||||
|
||||
@@ -183,6 +192,7 @@ func (W _database_sql_driver_ExecerContext) ExecContext(ctx context.Context, que
|
||||
|
||||
// _database_sql_driver_NamedValueChecker is an interface wrapper for NamedValueChecker type
|
||||
type _database_sql_driver_NamedValueChecker struct {
|
||||
IValue interface{}
|
||||
WCheckNamedValue func(a0 *driver.NamedValue) error
|
||||
}
|
||||
|
||||
@@ -192,13 +202,15 @@ func (W _database_sql_driver_NamedValueChecker) CheckNamedValue(a0 *driver.Named
|
||||
|
||||
// _database_sql_driver_Pinger is an interface wrapper for Pinger type
|
||||
type _database_sql_driver_Pinger struct {
|
||||
WPing func(ctx context.Context) error
|
||||
IValue interface{}
|
||||
WPing func(ctx context.Context) error
|
||||
}
|
||||
|
||||
func (W _database_sql_driver_Pinger) Ping(ctx context.Context) error { return W.WPing(ctx) }
|
||||
|
||||
// _database_sql_driver_Queryer is an interface wrapper for Queryer type
|
||||
type _database_sql_driver_Queryer struct {
|
||||
IValue interface{}
|
||||
WQuery func(query string, args []driver.Value) (driver.Rows, error)
|
||||
}
|
||||
|
||||
@@ -208,6 +220,7 @@ func (W _database_sql_driver_Queryer) Query(query string, args []driver.Value) (
|
||||
|
||||
// _database_sql_driver_QueryerContext is an interface wrapper for QueryerContext type
|
||||
type _database_sql_driver_QueryerContext struct {
|
||||
IValue interface{}
|
||||
WQueryContext func(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
|
||||
}
|
||||
|
||||
@@ -217,6 +230,7 @@ func (W _database_sql_driver_QueryerContext) QueryContext(ctx context.Context, q
|
||||
|
||||
// _database_sql_driver_Result is an interface wrapper for Result type
|
||||
type _database_sql_driver_Result struct {
|
||||
IValue interface{}
|
||||
WLastInsertId func() (int64, error)
|
||||
WRowsAffected func() (int64, error)
|
||||
}
|
||||
@@ -226,6 +240,7 @@ func (W _database_sql_driver_Result) RowsAffected() (int64, error) { return W.WR
|
||||
|
||||
// _database_sql_driver_Rows is an interface wrapper for Rows type
|
||||
type _database_sql_driver_Rows struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumns func() []string
|
||||
WNext func(dest []driver.Value) error
|
||||
@@ -237,6 +252,7 @@ func (W _database_sql_driver_Rows) Next(dest []driver.Value) error { return W.WN
|
||||
|
||||
// _database_sql_driver_RowsColumnTypeDatabaseTypeName is an interface wrapper for RowsColumnTypeDatabaseTypeName type
|
||||
type _database_sql_driver_RowsColumnTypeDatabaseTypeName struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypeDatabaseTypeName func(index int) string
|
||||
WColumns func() []string
|
||||
@@ -254,6 +270,7 @@ func (W _database_sql_driver_RowsColumnTypeDatabaseTypeName) Next(dest []driver.
|
||||
|
||||
// _database_sql_driver_RowsColumnTypeLength is an interface wrapper for RowsColumnTypeLength type
|
||||
type _database_sql_driver_RowsColumnTypeLength struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypeLength func(index int) (length int64, ok bool)
|
||||
WColumns func() []string
|
||||
@@ -271,6 +288,7 @@ func (W _database_sql_driver_RowsColumnTypeLength) Next(dest []driver.Value) err
|
||||
|
||||
// _database_sql_driver_RowsColumnTypeNullable is an interface wrapper for RowsColumnTypeNullable type
|
||||
type _database_sql_driver_RowsColumnTypeNullable struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypeNullable func(index int) (nullable bool, ok bool)
|
||||
WColumns func() []string
|
||||
@@ -288,6 +306,7 @@ func (W _database_sql_driver_RowsColumnTypeNullable) Next(dest []driver.Value) e
|
||||
|
||||
// _database_sql_driver_RowsColumnTypePrecisionScale is an interface wrapper for RowsColumnTypePrecisionScale type
|
||||
type _database_sql_driver_RowsColumnTypePrecisionScale struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypePrecisionScale func(index int) (precision int64, scale int64, ok bool)
|
||||
WColumns func() []string
|
||||
@@ -305,6 +324,7 @@ func (W _database_sql_driver_RowsColumnTypePrecisionScale) Next(dest []driver.Va
|
||||
|
||||
// _database_sql_driver_RowsColumnTypeScanType is an interface wrapper for RowsColumnTypeScanType type
|
||||
type _database_sql_driver_RowsColumnTypeScanType struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypeScanType func(index int) reflect.Type
|
||||
WColumns func() []string
|
||||
@@ -322,6 +342,7 @@ func (W _database_sql_driver_RowsColumnTypeScanType) Next(dest []driver.Value) e
|
||||
|
||||
// _database_sql_driver_RowsNextResultSet is an interface wrapper for RowsNextResultSet type
|
||||
type _database_sql_driver_RowsNextResultSet struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumns func() []string
|
||||
WHasNextResultSet func() bool
|
||||
@@ -337,6 +358,7 @@ func (W _database_sql_driver_RowsNextResultSet) NextResultSet() error
|
||||
|
||||
// _database_sql_driver_SessionResetter is an interface wrapper for SessionResetter type
|
||||
type _database_sql_driver_SessionResetter struct {
|
||||
IValue interface{}
|
||||
WResetSession func(ctx context.Context) error
|
||||
}
|
||||
|
||||
@@ -346,6 +368,7 @@ func (W _database_sql_driver_SessionResetter) ResetSession(ctx context.Context)
|
||||
|
||||
// _database_sql_driver_Stmt is an interface wrapper for Stmt type
|
||||
type _database_sql_driver_Stmt struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WExec func(args []driver.Value) (driver.Result, error)
|
||||
WNumInput func() int
|
||||
@@ -363,6 +386,7 @@ func (W _database_sql_driver_Stmt) Query(args []driver.Value) (driver.Rows, erro
|
||||
|
||||
// _database_sql_driver_StmtExecContext is an interface wrapper for StmtExecContext type
|
||||
type _database_sql_driver_StmtExecContext struct {
|
||||
IValue interface{}
|
||||
WExecContext func(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
|
||||
}
|
||||
|
||||
@@ -372,6 +396,7 @@ func (W _database_sql_driver_StmtExecContext) ExecContext(ctx context.Context, a
|
||||
|
||||
// _database_sql_driver_StmtQueryContext is an interface wrapper for StmtQueryContext type
|
||||
type _database_sql_driver_StmtQueryContext struct {
|
||||
IValue interface{}
|
||||
WQueryContext func(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
|
||||
}
|
||||
|
||||
@@ -381,6 +406,7 @@ func (W _database_sql_driver_StmtQueryContext) QueryContext(ctx context.Context,
|
||||
|
||||
// _database_sql_driver_Tx is an interface wrapper for Tx type
|
||||
type _database_sql_driver_Tx struct {
|
||||
IValue interface{}
|
||||
WCommit func() error
|
||||
WRollback func() error
|
||||
}
|
||||
@@ -390,6 +416,7 @@ func (W _database_sql_driver_Tx) Rollback() error { return W.WRollback() }
|
||||
|
||||
// _database_sql_driver_Validator is an interface wrapper for Validator type
|
||||
type _database_sql_driver_Validator struct {
|
||||
IValue interface{}
|
||||
WIsValid func() bool
|
||||
}
|
||||
|
||||
@@ -397,10 +424,12 @@ func (W _database_sql_driver_Validator) IsValid() bool { return W.WIsValid() }
|
||||
|
||||
// _database_sql_driver_Value is an interface wrapper for Value type
|
||||
type _database_sql_driver_Value struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _database_sql_driver_ValueConverter is an interface wrapper for ValueConverter type
|
||||
type _database_sql_driver_ValueConverter struct {
|
||||
IValue interface{}
|
||||
WConvertValue func(v interface{}) (driver.Value, error)
|
||||
}
|
||||
|
||||
@@ -410,6 +439,7 @@ func (W _database_sql_driver_ValueConverter) ConvertValue(v interface{}) (driver
|
||||
|
||||
// _database_sql_driver_Valuer is an interface wrapper for Valuer type
|
||||
type _database_sql_driver_Valuer struct {
|
||||
IValue interface{}
|
||||
WValue func() (driver.Value, error)
|
||||
}
|
||||
|
||||
|
||||
@@ -271,6 +271,7 @@ func init() {
|
||||
|
||||
// _debug_dwarf_Type is an interface wrapper for Type type
|
||||
type _debug_dwarf_Type struct {
|
||||
IValue interface{}
|
||||
WCommon func() *dwarf.CommonType
|
||||
WSize func() int64
|
||||
WString func() string
|
||||
|
||||
@@ -150,7 +150,8 @@ func init() {
|
||||
|
||||
// _debug_macho_Load is an interface wrapper for Load type
|
||||
type _debug_macho_Load struct {
|
||||
WRaw func() []byte
|
||||
IValue interface{}
|
||||
WRaw func() []byte
|
||||
}
|
||||
|
||||
func (W _debug_macho_Load) Raw() []byte { return W.WRaw() }
|
||||
|
||||
@@ -27,6 +27,7 @@ func init() {
|
||||
|
||||
// _encoding_BinaryMarshaler is an interface wrapper for BinaryMarshaler type
|
||||
type _encoding_BinaryMarshaler struct {
|
||||
IValue interface{}
|
||||
WMarshalBinary func() (data []byte, err error)
|
||||
}
|
||||
|
||||
@@ -36,6 +37,7 @@ func (W _encoding_BinaryMarshaler) MarshalBinary() (data []byte, err error) {
|
||||
|
||||
// _encoding_BinaryUnmarshaler is an interface wrapper for BinaryUnmarshaler type
|
||||
type _encoding_BinaryUnmarshaler struct {
|
||||
IValue interface{}
|
||||
WUnmarshalBinary func(data []byte) error
|
||||
}
|
||||
|
||||
@@ -45,6 +47,7 @@ func (W _encoding_BinaryUnmarshaler) UnmarshalBinary(data []byte) error {
|
||||
|
||||
// _encoding_TextMarshaler is an interface wrapper for TextMarshaler type
|
||||
type _encoding_TextMarshaler struct {
|
||||
IValue interface{}
|
||||
WMarshalText func() (text []byte, err error)
|
||||
}
|
||||
|
||||
@@ -52,6 +55,7 @@ func (W _encoding_TextMarshaler) MarshalText() (text []byte, err error) { return
|
||||
|
||||
// _encoding_TextUnmarshaler is an interface wrapper for TextUnmarshaler type
|
||||
type _encoding_TextUnmarshaler struct {
|
||||
IValue interface{}
|
||||
WUnmarshalText func(text []byte) error
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ func init() {
|
||||
|
||||
// _encoding_binary_ByteOrder is an interface wrapper for ByteOrder type
|
||||
type _encoding_binary_ByteOrder struct {
|
||||
IValue interface{}
|
||||
WPutUint16 func(a0 []byte, a1 uint16)
|
||||
WPutUint32 func(a0 []byte, a1 uint32)
|
||||
WPutUint64 func(a0 []byte, a1 uint64)
|
||||
|
||||
@@ -32,6 +32,7 @@ func init() {
|
||||
|
||||
// _encoding_gob_GobDecoder is an interface wrapper for GobDecoder type
|
||||
type _encoding_gob_GobDecoder struct {
|
||||
IValue interface{}
|
||||
WGobDecode func(a0 []byte) error
|
||||
}
|
||||
|
||||
@@ -39,6 +40,7 @@ func (W _encoding_gob_GobDecoder) GobDecode(a0 []byte) error { return W.WGobDeco
|
||||
|
||||
// _encoding_gob_GobEncoder is an interface wrapper for GobEncoder type
|
||||
type _encoding_gob_GobEncoder struct {
|
||||
IValue interface{}
|
||||
WGobEncode func() ([]byte, error)
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ func init() {
|
||||
|
||||
// _encoding_json_Marshaler is an interface wrapper for Marshaler type
|
||||
type _encoding_json_Marshaler struct {
|
||||
IValue interface{}
|
||||
WMarshalJSON func() ([]byte, error)
|
||||
}
|
||||
|
||||
@@ -56,10 +57,12 @@ func (W _encoding_json_Marshaler) MarshalJSON() ([]byte, error) { return W.WMars
|
||||
|
||||
// _encoding_json_Token is an interface wrapper for Token type
|
||||
type _encoding_json_Token struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _encoding_json_Unmarshaler is an interface wrapper for Unmarshaler type
|
||||
type _encoding_json_Unmarshaler struct {
|
||||
IValue interface{}
|
||||
WUnmarshalJSON func(a0 []byte) error
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ func init() {
|
||||
|
||||
// _encoding_xml_Marshaler is an interface wrapper for Marshaler type
|
||||
type _encoding_xml_Marshaler struct {
|
||||
IValue interface{}
|
||||
WMarshalXML func(e *xml.Encoder, start xml.StartElement) error
|
||||
}
|
||||
|
||||
@@ -70,6 +71,7 @@ func (W _encoding_xml_Marshaler) MarshalXML(e *xml.Encoder, start xml.StartEleme
|
||||
|
||||
// _encoding_xml_MarshalerAttr is an interface wrapper for MarshalerAttr type
|
||||
type _encoding_xml_MarshalerAttr struct {
|
||||
IValue interface{}
|
||||
WMarshalXMLAttr func(name xml.Name) (xml.Attr, error)
|
||||
}
|
||||
|
||||
@@ -79,10 +81,12 @@ func (W _encoding_xml_MarshalerAttr) MarshalXMLAttr(name xml.Name) (xml.Attr, er
|
||||
|
||||
// _encoding_xml_Token is an interface wrapper for Token type
|
||||
type _encoding_xml_Token struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _encoding_xml_TokenReader is an interface wrapper for TokenReader type
|
||||
type _encoding_xml_TokenReader struct {
|
||||
IValue interface{}
|
||||
WToken func() (xml.Token, error)
|
||||
}
|
||||
|
||||
@@ -90,6 +94,7 @@ func (W _encoding_xml_TokenReader) Token() (xml.Token, error) { return W.WToken(
|
||||
|
||||
// _encoding_xml_Unmarshaler is an interface wrapper for Unmarshaler type
|
||||
type _encoding_xml_Unmarshaler struct {
|
||||
IValue interface{}
|
||||
WUnmarshalXML func(d *xml.Decoder, start xml.StartElement) error
|
||||
}
|
||||
|
||||
@@ -99,6 +104,7 @@ func (W _encoding_xml_Unmarshaler) UnmarshalXML(d *xml.Decoder, start xml.StartE
|
||||
|
||||
// _encoding_xml_UnmarshalerAttr is an interface wrapper for UnmarshalerAttr type
|
||||
type _encoding_xml_UnmarshalerAttr struct {
|
||||
IValue interface{}
|
||||
WUnmarshalXMLAttr func(attr xml.Attr) error
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ func init() {
|
||||
|
||||
// _expvar_Var is an interface wrapper for Var type
|
||||
type _expvar_Var struct {
|
||||
IValue interface{}
|
||||
WString func() string
|
||||
}
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ func init() {
|
||||
|
||||
// _flag_Getter is an interface wrapper for Getter type
|
||||
type _flag_Getter struct {
|
||||
IValue interface{}
|
||||
WGet func() interface{}
|
||||
WSet func(a0 string) error
|
||||
WString func() string
|
||||
@@ -75,6 +76,7 @@ func (W _flag_Getter) String() string { return W.WString() }
|
||||
|
||||
// _flag_Value is an interface wrapper for Value type
|
||||
type _flag_Value struct {
|
||||
IValue interface{}
|
||||
WSet func(a0 string) error
|
||||
WString func() string
|
||||
}
|
||||
|
||||
@@ -52,6 +52,7 @@ func init() {
|
||||
|
||||
// _fmt_Formatter is an interface wrapper for Formatter type
|
||||
type _fmt_Formatter struct {
|
||||
IValue interface{}
|
||||
WFormat func(f fmt.State, c rune)
|
||||
}
|
||||
|
||||
@@ -59,6 +60,7 @@ func (W _fmt_Formatter) Format(f fmt.State, c rune) { W.WFormat(f, c) }
|
||||
|
||||
// _fmt_GoStringer is an interface wrapper for GoStringer type
|
||||
type _fmt_GoStringer struct {
|
||||
IValue interface{}
|
||||
WGoString func() string
|
||||
}
|
||||
|
||||
@@ -66,6 +68,7 @@ func (W _fmt_GoStringer) GoString() string { return W.WGoString() }
|
||||
|
||||
// _fmt_ScanState is an interface wrapper for ScanState type
|
||||
type _fmt_ScanState struct {
|
||||
IValue interface{}
|
||||
WRead func(buf []byte) (n int, err error)
|
||||
WReadRune func() (r rune, size int, err error)
|
||||
WSkipSpace func()
|
||||
@@ -85,13 +88,15 @@ func (W _fmt_ScanState) Width() (wid int, ok bool) { return W.WWidth() }
|
||||
|
||||
// _fmt_Scanner is an interface wrapper for Scanner type
|
||||
type _fmt_Scanner struct {
|
||||
WScan func(state fmt.ScanState, verb rune) error
|
||||
IValue interface{}
|
||||
WScan func(state fmt.ScanState, verb rune) error
|
||||
}
|
||||
|
||||
func (W _fmt_Scanner) Scan(state fmt.ScanState, verb rune) error { return W.WScan(state, verb) }
|
||||
|
||||
// _fmt_State is an interface wrapper for State type
|
||||
type _fmt_State struct {
|
||||
IValue interface{}
|
||||
WFlag func(c int) bool
|
||||
WPrecision func() (prec int, ok bool)
|
||||
WWidth func() (wid int, ok bool)
|
||||
@@ -105,6 +110,7 @@ func (W _fmt_State) Write(b []byte) (n int, err error) { return W.WWrite(b) }
|
||||
|
||||
// _fmt_Stringer is an interface wrapper for Stringer type
|
||||
type _fmt_Stringer struct {
|
||||
IValue interface{}
|
||||
WString func() string
|
||||
}
|
||||
|
||||
|
||||
@@ -128,8 +128,9 @@ func init() {
|
||||
|
||||
// _go_ast_Decl is an interface wrapper for Decl type
|
||||
type _go_ast_Decl struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Decl) End() token.Pos { return W.WEnd() }
|
||||
@@ -137,8 +138,9 @@ func (W _go_ast_Decl) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Expr is an interface wrapper for Expr type
|
||||
type _go_ast_Expr struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Expr) End() token.Pos { return W.WEnd() }
|
||||
@@ -146,8 +148,9 @@ func (W _go_ast_Expr) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Node is an interface wrapper for Node type
|
||||
type _go_ast_Node struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Node) End() token.Pos { return W.WEnd() }
|
||||
@@ -155,8 +158,9 @@ func (W _go_ast_Node) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Spec is an interface wrapper for Spec type
|
||||
type _go_ast_Spec struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Spec) End() token.Pos { return W.WEnd() }
|
||||
@@ -164,8 +168,9 @@ func (W _go_ast_Spec) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Stmt is an interface wrapper for Stmt type
|
||||
type _go_ast_Stmt struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Stmt) End() token.Pos { return W.WEnd() }
|
||||
@@ -173,6 +178,7 @@ func (W _go_ast_Stmt) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Visitor is an interface wrapper for Visitor type
|
||||
type _go_ast_Visitor struct {
|
||||
IValue interface{}
|
||||
WVisit func(node ast.Node) (w ast.Visitor)
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ func init() {
|
||||
|
||||
// _go_constant_Value is an interface wrapper for Value type
|
||||
type _go_constant_Value struct {
|
||||
IValue interface{}
|
||||
WExactString func() string
|
||||
WKind func() constant.Kind
|
||||
WString func() string
|
||||
|
||||
@@ -162,6 +162,7 @@ func init() {
|
||||
|
||||
// _go_types_Importer is an interface wrapper for Importer type
|
||||
type _go_types_Importer struct {
|
||||
IValue interface{}
|
||||
WImport func(path string) (*types.Package, error)
|
||||
}
|
||||
|
||||
@@ -169,6 +170,7 @@ func (W _go_types_Importer) Import(path string) (*types.Package, error) { return
|
||||
|
||||
// _go_types_ImporterFrom is an interface wrapper for ImporterFrom type
|
||||
type _go_types_ImporterFrom struct {
|
||||
IValue interface{}
|
||||
WImport func(path string) (*types.Package, error)
|
||||
WImportFrom func(path string, dir string, mode types.ImportMode) (*types.Package, error)
|
||||
}
|
||||
@@ -180,6 +182,7 @@ func (W _go_types_ImporterFrom) ImportFrom(path string, dir string, mode types.I
|
||||
|
||||
// _go_types_Object is an interface wrapper for Object type
|
||||
type _go_types_Object struct {
|
||||
IValue interface{}
|
||||
WExported func() bool
|
||||
WId func() string
|
||||
WName func() string
|
||||
@@ -201,6 +204,7 @@ func (W _go_types_Object) Type() types.Type { return W.WType() }
|
||||
|
||||
// _go_types_Sizes is an interface wrapper for Sizes type
|
||||
type _go_types_Sizes struct {
|
||||
IValue interface{}
|
||||
WAlignof func(T types.Type) int64
|
||||
WOffsetsof func(fields []*types.Var) []int64
|
||||
WSizeof func(T types.Type) int64
|
||||
@@ -212,6 +216,7 @@ func (W _go_types_Sizes) Sizeof(T types.Type) int64 { return W.WSize
|
||||
|
||||
// _go_types_Type is an interface wrapper for Type type
|
||||
type _go_types_Type struct {
|
||||
IValue interface{}
|
||||
WString func() string
|
||||
WUnderlying func() types.Type
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ func init() {
|
||||
|
||||
// _hash_Hash is an interface wrapper for Hash type
|
||||
type _hash_Hash struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WReset func()
|
||||
WSize func() int
|
||||
@@ -40,6 +41,7 @@ func (W _hash_Hash) Write(p []byte) (n int, err error) { return W.WWrite(p) }
|
||||
|
||||
// _hash_Hash32 is an interface wrapper for Hash32 type
|
||||
type _hash_Hash32 struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WReset func()
|
||||
WSize func() int
|
||||
@@ -57,6 +59,7 @@ func (W _hash_Hash32) Write(p []byte) (n int, err error) { return W.WWrite(p) }
|
||||
|
||||
// _hash_Hash64 is an interface wrapper for Hash64 type
|
||||
type _hash_Hash64 struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WReset func()
|
||||
WSize func() int
|
||||
|
||||
@@ -74,6 +74,7 @@ func init() {
|
||||
|
||||
// _image_Image is an interface wrapper for Image type
|
||||
type _image_Image struct {
|
||||
IValue interface{}
|
||||
WAt func(x int, y int) color.Color
|
||||
WBounds func() image.Rectangle
|
||||
WColorModel func() color.Model
|
||||
@@ -85,6 +86,7 @@ func (W _image_Image) ColorModel() color.Model { return W.WColorModel() }
|
||||
|
||||
// _image_PalettedImage is an interface wrapper for PalettedImage type
|
||||
type _image_PalettedImage struct {
|
||||
IValue interface{}
|
||||
WAt func(x int, y int) color.Color
|
||||
WBounds func() image.Rectangle
|
||||
WColorIndexAt func(x int, y int) uint8
|
||||
|
||||
@@ -57,13 +57,15 @@ func init() {
|
||||
|
||||
// _image_color_Color is an interface wrapper for Color type
|
||||
type _image_color_Color struct {
|
||||
WRGBA func() (r uint32, g uint32, b uint32, a uint32)
|
||||
IValue interface{}
|
||||
WRGBA func() (r uint32, g uint32, b uint32, a uint32)
|
||||
}
|
||||
|
||||
func (W _image_color_Color) RGBA() (r uint32, g uint32, b uint32, a uint32) { return W.WRGBA() }
|
||||
|
||||
// _image_color_Model is an interface wrapper for Model type
|
||||
type _image_color_Model struct {
|
||||
IValue interface{}
|
||||
WConvert func(c color.Color) color.Color
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,8 @@ func init() {
|
||||
|
||||
// _image_draw_Drawer is an interface wrapper for Drawer type
|
||||
type _image_draw_Drawer struct {
|
||||
WDraw func(dst draw.Image, r image.Rectangle, src image.Image, sp image.Point)
|
||||
IValue interface{}
|
||||
WDraw func(dst draw.Image, r image.Rectangle, src image.Image, sp image.Point)
|
||||
}
|
||||
|
||||
func (W _image_draw_Drawer) Draw(dst draw.Image, r image.Rectangle, src image.Image, sp image.Point) {
|
||||
@@ -44,6 +45,7 @@ func (W _image_draw_Drawer) Draw(dst draw.Image, r image.Rectangle, src image.Im
|
||||
|
||||
// _image_draw_Image is an interface wrapper for Image type
|
||||
type _image_draw_Image struct {
|
||||
IValue interface{}
|
||||
WAt func(x int, y int) color.Color
|
||||
WBounds func() image.Rectangle
|
||||
WColorModel func() color.Model
|
||||
@@ -57,6 +59,7 @@ func (W _image_draw_Image) Set(x int, y int, c color.Color) { W.WSet(x, y, c) }
|
||||
|
||||
// _image_draw_Quantizer is an interface wrapper for Quantizer type
|
||||
type _image_draw_Quantizer struct {
|
||||
IValue interface{}
|
||||
WQuantize func(p color.Palette, m image.Image) color.Palette
|
||||
}
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ func init() {
|
||||
|
||||
// _image_jpeg_Reader is an interface wrapper for Reader type
|
||||
type _image_jpeg_Reader struct {
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WReadByte func() (byte, error)
|
||||
}
|
||||
|
||||
@@ -35,8 +35,9 @@ func init() {
|
||||
|
||||
// _image_png_EncoderBufferPool is an interface wrapper for EncoderBufferPool type
|
||||
type _image_png_EncoderBufferPool struct {
|
||||
WGet func() *png.EncoderBuffer
|
||||
WPut func(a0 *png.EncoderBuffer)
|
||||
IValue interface{}
|
||||
WGet func() *png.EncoderBuffer
|
||||
WPut func(a0 *png.EncoderBuffer)
|
||||
}
|
||||
|
||||
func (W _image_png_EncoderBufferPool) Get() *png.EncoderBuffer { return W.WGet() }
|
||||
|
||||
@@ -90,6 +90,7 @@ func init() {
|
||||
|
||||
// _io_ByteReader is an interface wrapper for ByteReader type
|
||||
type _io_ByteReader struct {
|
||||
IValue interface{}
|
||||
WReadByte func() (byte, error)
|
||||
}
|
||||
|
||||
@@ -97,6 +98,7 @@ func (W _io_ByteReader) ReadByte() (byte, error) { return W.WReadByte() }
|
||||
|
||||
// _io_ByteScanner is an interface wrapper for ByteScanner type
|
||||
type _io_ByteScanner struct {
|
||||
IValue interface{}
|
||||
WReadByte func() (byte, error)
|
||||
WUnreadByte func() error
|
||||
}
|
||||
@@ -106,6 +108,7 @@ func (W _io_ByteScanner) UnreadByte() error { return W.WUnreadByte() }
|
||||
|
||||
// _io_ByteWriter is an interface wrapper for ByteWriter type
|
||||
type _io_ByteWriter struct {
|
||||
IValue interface{}
|
||||
WWriteByte func(c byte) error
|
||||
}
|
||||
|
||||
@@ -113,6 +116,7 @@ func (W _io_ByteWriter) WriteByte(c byte) error { return W.WWriteByte(c) }
|
||||
|
||||
// _io_Closer is an interface wrapper for Closer type
|
||||
type _io_Closer struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
}
|
||||
|
||||
@@ -120,6 +124,7 @@ func (W _io_Closer) Close() error { return W.WClose() }
|
||||
|
||||
// _io_ReadCloser is an interface wrapper for ReadCloser type
|
||||
type _io_ReadCloser struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
}
|
||||
@@ -129,8 +134,9 @@ func (W _io_ReadCloser) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
|
||||
// _io_ReadSeeker is an interface wrapper for ReadSeeker type
|
||||
type _io_ReadSeeker struct {
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
}
|
||||
|
||||
func (W _io_ReadSeeker) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
@@ -138,6 +144,7 @@ func (W _io_ReadSeeker) Seek(offset int64, whence int) (int64, error) { return W
|
||||
|
||||
// _io_ReadWriteCloser is an interface wrapper for ReadWriteCloser type
|
||||
type _io_ReadWriteCloser struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
@@ -149,6 +156,7 @@ func (W _io_ReadWriteCloser) Write(p []byte) (n int, err error) { return W.WWrit
|
||||
|
||||
// _io_ReadWriteSeeker is an interface wrapper for ReadWriteSeeker type
|
||||
type _io_ReadWriteSeeker struct {
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
@@ -162,6 +170,7 @@ func (W _io_ReadWriteSeeker) Write(p []byte) (n int, err error) { return W.WWrit
|
||||
|
||||
// _io_ReadWriter is an interface wrapper for ReadWriter type
|
||||
type _io_ReadWriter struct {
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
}
|
||||
@@ -171,13 +180,15 @@ func (W _io_ReadWriter) Write(p []byte) (n int, err error) { return W.WWrite(p)
|
||||
|
||||
// _io_Reader is an interface wrapper for Reader type
|
||||
type _io_Reader struct {
|
||||
WRead func(p []byte) (n int, err error)
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
}
|
||||
|
||||
func (W _io_Reader) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
|
||||
// _io_ReaderAt is an interface wrapper for ReaderAt type
|
||||
type _io_ReaderAt struct {
|
||||
IValue interface{}
|
||||
WReadAt func(p []byte, off int64) (n int, err error)
|
||||
}
|
||||
|
||||
@@ -185,6 +196,7 @@ func (W _io_ReaderAt) ReadAt(p []byte, off int64) (n int, err error) { return W.
|
||||
|
||||
// _io_ReaderFrom is an interface wrapper for ReaderFrom type
|
||||
type _io_ReaderFrom struct {
|
||||
IValue interface{}
|
||||
WReadFrom func(r io.Reader) (n int64, err error)
|
||||
}
|
||||
|
||||
@@ -192,6 +204,7 @@ func (W _io_ReaderFrom) ReadFrom(r io.Reader) (n int64, err error) { return W.WR
|
||||
|
||||
// _io_RuneReader is an interface wrapper for RuneReader type
|
||||
type _io_RuneReader struct {
|
||||
IValue interface{}
|
||||
WReadRune func() (r rune, size int, err error)
|
||||
}
|
||||
|
||||
@@ -199,6 +212,7 @@ func (W _io_RuneReader) ReadRune() (r rune, size int, err error) { return W.WRea
|
||||
|
||||
// _io_RuneScanner is an interface wrapper for RuneScanner type
|
||||
type _io_RuneScanner struct {
|
||||
IValue interface{}
|
||||
WReadRune func() (r rune, size int, err error)
|
||||
WUnreadRune func() error
|
||||
}
|
||||
@@ -208,13 +222,15 @@ func (W _io_RuneScanner) UnreadRune() error { return W.WUn
|
||||
|
||||
// _io_Seeker is an interface wrapper for Seeker type
|
||||
type _io_Seeker struct {
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
IValue interface{}
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
}
|
||||
|
||||
func (W _io_Seeker) Seek(offset int64, whence int) (int64, error) { return W.WSeek(offset, whence) }
|
||||
|
||||
// _io_StringWriter is an interface wrapper for StringWriter type
|
||||
type _io_StringWriter struct {
|
||||
IValue interface{}
|
||||
WWriteString func(s string) (n int, err error)
|
||||
}
|
||||
|
||||
@@ -222,6 +238,7 @@ func (W _io_StringWriter) WriteString(s string) (n int, err error) { return W.WW
|
||||
|
||||
// _io_WriteCloser is an interface wrapper for WriteCloser type
|
||||
type _io_WriteCloser struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
}
|
||||
@@ -231,6 +248,7 @@ func (W _io_WriteCloser) Write(p []byte) (n int, err error) { return W.WWrite(p)
|
||||
|
||||
// _io_WriteSeeker is an interface wrapper for WriteSeeker type
|
||||
type _io_WriteSeeker struct {
|
||||
IValue interface{}
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
}
|
||||
@@ -242,6 +260,7 @@ func (W _io_WriteSeeker) Write(p []byte) (n int, err error) { return W.WWrite(p)
|
||||
|
||||
// _io_Writer is an interface wrapper for Writer type
|
||||
type _io_Writer struct {
|
||||
IValue interface{}
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
}
|
||||
|
||||
@@ -249,6 +268,7 @@ func (W _io_Writer) Write(p []byte) (n int, err error) { return W.WWrite(p) }
|
||||
|
||||
// _io_WriterAt is an interface wrapper for WriterAt type
|
||||
type _io_WriterAt struct {
|
||||
IValue interface{}
|
||||
WWriteAt func(p []byte, off int64) (n int, err error)
|
||||
}
|
||||
|
||||
@@ -256,6 +276,7 @@ func (W _io_WriterAt) WriteAt(p []byte, off int64) (n int, err error) { return W
|
||||
|
||||
// _io_WriterTo is an interface wrapper for WriterTo type
|
||||
type _io_WriterTo struct {
|
||||
IValue interface{}
|
||||
WWriteTo func(w io.Writer) (n int64, err error)
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ func init() {
|
||||
|
||||
// _math_rand_Source is an interface wrapper for Source type
|
||||
type _math_rand_Source struct {
|
||||
IValue interface{}
|
||||
WInt63 func() int64
|
||||
WSeed func(seed int64)
|
||||
}
|
||||
@@ -55,6 +56,7 @@ func (W _math_rand_Source) Seed(seed int64) { W.WSeed(seed) }
|
||||
|
||||
// _math_rand_Source64 is an interface wrapper for Source64 type
|
||||
type _math_rand_Source64 struct {
|
||||
IValue interface{}
|
||||
WInt63 func() int64
|
||||
WSeed func(seed int64)
|
||||
WUint64 func() uint64
|
||||
|
||||
@@ -31,6 +31,7 @@ func init() {
|
||||
|
||||
// _mime_multipart_File is an interface wrapper for File type
|
||||
type _mime_multipart_File struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WReadAt func(p []byte, off int64) (n int, err error)
|
||||
|
||||
@@ -126,6 +126,7 @@ func init() {
|
||||
|
||||
// _net_Addr is an interface wrapper for Addr type
|
||||
type _net_Addr struct {
|
||||
IValue interface{}
|
||||
WNetwork func() string
|
||||
WString func() string
|
||||
}
|
||||
@@ -135,6 +136,7 @@ func (W _net_Addr) String() string { return W.WString() }
|
||||
|
||||
// _net_Conn is an interface wrapper for Conn type
|
||||
type _net_Conn struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WLocalAddr func() net.Addr
|
||||
WRead func(b []byte) (n int, err error)
|
||||
@@ -156,6 +158,7 @@ func (W _net_Conn) Write(b []byte) (n int, err error) { return W.WWrite(b) }
|
||||
|
||||
// _net_Error is an interface wrapper for Error type
|
||||
type _net_Error struct {
|
||||
IValue interface{}
|
||||
WError func() string
|
||||
WTemporary func() bool
|
||||
WTimeout func() bool
|
||||
@@ -167,6 +170,7 @@ func (W _net_Error) Timeout() bool { return W.WTimeout() }
|
||||
|
||||
// _net_Listener is an interface wrapper for Listener type
|
||||
type _net_Listener struct {
|
||||
IValue interface{}
|
||||
WAccept func() (net.Conn, error)
|
||||
WAddr func() net.Addr
|
||||
WClose func() error
|
||||
@@ -178,6 +182,7 @@ func (W _net_Listener) Close() error { return W.WClose() }
|
||||
|
||||
// _net_PacketConn is an interface wrapper for PacketConn type
|
||||
type _net_PacketConn struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WLocalAddr func() net.Addr
|
||||
WReadFrom func(p []byte) (n int, addr net.Addr, err error)
|
||||
|
||||
@@ -207,6 +207,7 @@ func init() {
|
||||
|
||||
// _net_http_CloseNotifier is an interface wrapper for CloseNotifier type
|
||||
type _net_http_CloseNotifier struct {
|
||||
IValue interface{}
|
||||
WCloseNotify func() <-chan bool
|
||||
}
|
||||
|
||||
@@ -214,6 +215,7 @@ func (W _net_http_CloseNotifier) CloseNotify() <-chan bool { return W.WCloseNoti
|
||||
|
||||
// _net_http_CookieJar is an interface wrapper for CookieJar type
|
||||
type _net_http_CookieJar struct {
|
||||
IValue interface{}
|
||||
WCookies func(u *url.URL) []*http.Cookie
|
||||
WSetCookies func(u *url.URL, cookies []*http.Cookie)
|
||||
}
|
||||
@@ -225,6 +227,7 @@ func (W _net_http_CookieJar) SetCookies(u *url.URL, cookies []*http.Cookie) {
|
||||
|
||||
// _net_http_File is an interface wrapper for File type
|
||||
type _net_http_File struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WReaddir func(count int) ([]os.FileInfo, error)
|
||||
@@ -240,13 +243,15 @@ func (W _net_http_File) Stat() (os.FileInfo, error) { return W
|
||||
|
||||
// _net_http_FileSystem is an interface wrapper for FileSystem type
|
||||
type _net_http_FileSystem struct {
|
||||
WOpen func(name string) (http.File, error)
|
||||
IValue interface{}
|
||||
WOpen func(name string) (http.File, error)
|
||||
}
|
||||
|
||||
func (W _net_http_FileSystem) Open(name string) (http.File, error) { return W.WOpen(name) }
|
||||
|
||||
// _net_http_Flusher is an interface wrapper for Flusher type
|
||||
type _net_http_Flusher struct {
|
||||
IValue interface{}
|
||||
WFlush func()
|
||||
}
|
||||
|
||||
@@ -254,6 +259,7 @@ func (W _net_http_Flusher) Flush() { W.WFlush() }
|
||||
|
||||
// _net_http_Handler is an interface wrapper for Handler type
|
||||
type _net_http_Handler struct {
|
||||
IValue interface{}
|
||||
WServeHTTP func(a0 http.ResponseWriter, a1 *http.Request)
|
||||
}
|
||||
|
||||
@@ -261,6 +267,7 @@ func (W _net_http_Handler) ServeHTTP(a0 http.ResponseWriter, a1 *http.Request) {
|
||||
|
||||
// _net_http_Hijacker is an interface wrapper for Hijacker type
|
||||
type _net_http_Hijacker struct {
|
||||
IValue interface{}
|
||||
WHijack func() (net.Conn, *bufio.ReadWriter, error)
|
||||
}
|
||||
|
||||
@@ -268,7 +275,8 @@ func (W _net_http_Hijacker) Hijack() (net.Conn, *bufio.ReadWriter, error) { retu
|
||||
|
||||
// _net_http_Pusher is an interface wrapper for Pusher type
|
||||
type _net_http_Pusher struct {
|
||||
WPush func(target string, opts *http.PushOptions) error
|
||||
IValue interface{}
|
||||
WPush func(target string, opts *http.PushOptions) error
|
||||
}
|
||||
|
||||
func (W _net_http_Pusher) Push(target string, opts *http.PushOptions) error {
|
||||
@@ -277,6 +285,7 @@ func (W _net_http_Pusher) Push(target string, opts *http.PushOptions) error {
|
||||
|
||||
// _net_http_ResponseWriter is an interface wrapper for ResponseWriter type
|
||||
type _net_http_ResponseWriter struct {
|
||||
IValue interface{}
|
||||
WHeader func() http.Header
|
||||
WWrite func(a0 []byte) (int, error)
|
||||
WWriteHeader func(statusCode int)
|
||||
@@ -288,6 +297,7 @@ func (W _net_http_ResponseWriter) WriteHeader(statusCode int) { W.WWriteHeader
|
||||
|
||||
// _net_http_RoundTripper is an interface wrapper for RoundTripper type
|
||||
type _net_http_RoundTripper struct {
|
||||
IValue interface{}
|
||||
WRoundTrip func(a0 *http.Request) (*http.Response, error)
|
||||
}
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ func init() {
|
||||
|
||||
// _net_http_cookiejar_PublicSuffixList is an interface wrapper for PublicSuffixList type
|
||||
type _net_http_cookiejar_PublicSuffixList struct {
|
||||
IValue interface{}
|
||||
WPublicSuffix func(domain string) string
|
||||
WString func() string
|
||||
}
|
||||
|
||||
@@ -39,8 +39,9 @@ func init() {
|
||||
|
||||
// _net_http_httputil_BufferPool is an interface wrapper for BufferPool type
|
||||
type _net_http_httputil_BufferPool struct {
|
||||
WGet func() []byte
|
||||
WPut func(a0 []byte)
|
||||
IValue interface{}
|
||||
WGet func() []byte
|
||||
WPut func(a0 []byte)
|
||||
}
|
||||
|
||||
func (W _net_http_httputil_BufferPool) Get() []byte { return W.WGet() }
|
||||
|
||||
@@ -50,6 +50,7 @@ func init() {
|
||||
|
||||
// _net_rpc_ClientCodec is an interface wrapper for ClientCodec type
|
||||
type _net_rpc_ClientCodec struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WReadResponseBody func(a0 interface{}) error
|
||||
WReadResponseHeader func(a0 *rpc.Response) error
|
||||
@@ -67,6 +68,7 @@ func (W _net_rpc_ClientCodec) WriteRequest(a0 *rpc.Request, a1 interface{}) erro
|
||||
|
||||
// _net_rpc_ServerCodec is an interface wrapper for ServerCodec type
|
||||
type _net_rpc_ServerCodec struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WReadRequestBody func(a0 interface{}) error
|
||||
WReadRequestHeader func(a0 *rpc.Request) error
|
||||
|
||||
@@ -30,6 +30,7 @@ func init() {
|
||||
|
||||
// _net_smtp_Auth is an interface wrapper for Auth type
|
||||
type _net_smtp_Auth struct {
|
||||
IValue interface{}
|
||||
WNext func(fromServer []byte, more bool) (toServer []byte, err error)
|
||||
WStart func(server *smtp.ServerInfo) (proto string, toServer []byte, err error)
|
||||
}
|
||||
|
||||
@@ -132,6 +132,7 @@ func init() {
|
||||
|
||||
// _os_FileInfo is an interface wrapper for FileInfo type
|
||||
type _os_FileInfo struct {
|
||||
IValue interface{}
|
||||
WIsDir func() bool
|
||||
WModTime func() time.Time
|
||||
WMode func() os.FileMode
|
||||
@@ -149,6 +150,7 @@ func (W _os_FileInfo) Sys() interface{} { return W.WSys() }
|
||||
|
||||
// _os_Signal is an interface wrapper for Signal type
|
||||
type _os_Signal struct {
|
||||
IValue interface{}
|
||||
WSignal func()
|
||||
WString func() string
|
||||
}
|
||||
|
||||
@@ -91,6 +91,7 @@ func init() {
|
||||
|
||||
// _reflect_Type is an interface wrapper for Type type
|
||||
type _reflect_Type struct {
|
||||
IValue interface{}
|
||||
WAlign func() int
|
||||
WAssignableTo func(u reflect.Type) bool
|
||||
WBits func() int
|
||||
|
||||
@@ -70,6 +70,7 @@ func init() {
|
||||
|
||||
// _runtime_Error is an interface wrapper for Error type
|
||||
type _runtime_Error struct {
|
||||
IValue interface{}
|
||||
WError func() string
|
||||
WRuntimeError func()
|
||||
}
|
||||
|
||||
@@ -43,9 +43,10 @@ func init() {
|
||||
|
||||
// _sort_Interface is an interface wrapper for Interface type
|
||||
type _sort_Interface struct {
|
||||
WLen func() int
|
||||
WLess func(i int, j int) bool
|
||||
WSwap func(i int, j int)
|
||||
IValue interface{}
|
||||
WLen func() int
|
||||
WLess func(i int, j int) bool
|
||||
WSwap func(i int, j int)
|
||||
}
|
||||
|
||||
func (W _sort_Interface) Len() int { return W.WLen() }
|
||||
|
||||
@@ -31,6 +31,7 @@ func init() {
|
||||
|
||||
// _sync_Locker is an interface wrapper for Locker type
|
||||
type _sync_Locker struct {
|
||||
IValue interface{}
|
||||
WLock func()
|
||||
WUnlock func()
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ func init() {
|
||||
|
||||
// _testing_TB is an interface wrapper for TB type
|
||||
type _testing_TB struct {
|
||||
IValue interface{}
|
||||
WCleanup func(a0 func())
|
||||
WError func(args ...interface{})
|
||||
WErrorf func(format string, args ...interface{})
|
||||
|
||||
@@ -31,6 +31,7 @@ func init() {
|
||||
|
||||
// _testing_quick_Generator is an interface wrapper for Generator type
|
||||
type _testing_quick_Generator struct {
|
||||
IValue interface{}
|
||||
WGenerate func(rand *rand.Rand, size int) reflect.Value
|
||||
}
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@ func init() {
|
||||
|
||||
// _text_template_parse_Node is an interface wrapper for Node type
|
||||
type _text_template_parse_Node struct {
|
||||
IValue interface{}
|
||||
WCopy func() parse.Node
|
||||
WPosition func() parse.Pos
|
||||
WString func() string
|
||||
|
||||
@@ -42,6 +42,7 @@ func init() {
|
||||
|
||||
// _compress_flate_Reader is an interface wrapper for Reader type
|
||||
type _compress_flate_Reader struct {
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WReadByte func() (byte, error)
|
||||
}
|
||||
@@ -51,6 +52,7 @@ func (W _compress_flate_Reader) ReadByte() (byte, error) { return W.WRe
|
||||
|
||||
// _compress_flate_Resetter is an interface wrapper for Resetter type
|
||||
type _compress_flate_Resetter struct {
|
||||
IValue interface{}
|
||||
WReset func(r io.Reader, dict []byte) error
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ func init() {
|
||||
|
||||
// _compress_zlib_Resetter is an interface wrapper for Resetter type
|
||||
type _compress_zlib_Resetter struct {
|
||||
IValue interface{}
|
||||
WReset func(r io.Reader, dict []byte) error
|
||||
}
|
||||
|
||||
|
||||
@@ -28,11 +28,12 @@ func init() {
|
||||
|
||||
// _container_heap_Interface is an interface wrapper for Interface type
|
||||
type _container_heap_Interface struct {
|
||||
WLen func() int
|
||||
WLess func(i int, j int) bool
|
||||
WPop func() interface{}
|
||||
WPush func(x interface{})
|
||||
WSwap func(i int, j int)
|
||||
IValue interface{}
|
||||
WLen func() int
|
||||
WLess func(i int, j int) bool
|
||||
WPop func() interface{}
|
||||
WPush func(x interface{})
|
||||
WSwap func(i int, j int)
|
||||
}
|
||||
|
||||
func (W _container_heap_Interface) Len() int { return W.WLen() }
|
||||
|
||||
@@ -33,6 +33,7 @@ func init() {
|
||||
|
||||
// _context_Context is an interface wrapper for Context type
|
||||
type _context_Context struct {
|
||||
IValue interface{}
|
||||
WDeadline func() (deadline time.Time, ok bool)
|
||||
WDone func() <-chan struct{}
|
||||
WErr func() error
|
||||
|
||||
@@ -55,6 +55,7 @@ func init() {
|
||||
|
||||
// _crypto_Decrypter is an interface wrapper for Decrypter type
|
||||
type _crypto_Decrypter struct {
|
||||
IValue interface{}
|
||||
WDecrypt func(rand io.Reader, msg []byte, opts crypto.DecrypterOpts) (plaintext []byte, err error)
|
||||
WPublic func() crypto.PublicKey
|
||||
}
|
||||
@@ -66,18 +67,22 @@ func (W _crypto_Decrypter) Public() crypto.PublicKey { return W.WPublic() }
|
||||
|
||||
// _crypto_DecrypterOpts is an interface wrapper for DecrypterOpts type
|
||||
type _crypto_DecrypterOpts struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _crypto_PrivateKey is an interface wrapper for PrivateKey type
|
||||
type _crypto_PrivateKey struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _crypto_PublicKey is an interface wrapper for PublicKey type
|
||||
type _crypto_PublicKey struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _crypto_Signer is an interface wrapper for Signer type
|
||||
type _crypto_Signer struct {
|
||||
IValue interface{}
|
||||
WPublic func() crypto.PublicKey
|
||||
WSign func(rand io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error)
|
||||
}
|
||||
@@ -89,6 +94,7 @@ func (W _crypto_Signer) Sign(rand io.Reader, digest []byte, opts crypto.SignerOp
|
||||
|
||||
// _crypto_SignerOpts is an interface wrapper for SignerOpts type
|
||||
type _crypto_SignerOpts struct {
|
||||
IValue interface{}
|
||||
WHashFunc func() crypto.Hash
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ func init() {
|
||||
|
||||
// _crypto_cipher_AEAD is an interface wrapper for AEAD type
|
||||
type _crypto_cipher_AEAD struct {
|
||||
IValue interface{}
|
||||
WNonceSize func() int
|
||||
WOpen func(dst []byte, nonce []byte, ciphertext []byte, additionalData []byte) ([]byte, error)
|
||||
WOverhead func() int
|
||||
@@ -57,6 +58,7 @@ func (W _crypto_cipher_AEAD) Seal(dst []byte, nonce []byte, plaintext []byte, ad
|
||||
|
||||
// _crypto_cipher_Block is an interface wrapper for Block type
|
||||
type _crypto_cipher_Block struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WDecrypt func(dst []byte, src []byte)
|
||||
WEncrypt func(dst []byte, src []byte)
|
||||
@@ -68,6 +70,7 @@ func (W _crypto_cipher_Block) Encrypt(dst []byte, src []byte) { W.WEncrypt(dst,
|
||||
|
||||
// _crypto_cipher_BlockMode is an interface wrapper for BlockMode type
|
||||
type _crypto_cipher_BlockMode struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WCryptBlocks func(dst []byte, src []byte)
|
||||
}
|
||||
@@ -77,6 +80,7 @@ func (W _crypto_cipher_BlockMode) CryptBlocks(dst []byte, src []byte) { W.WCrypt
|
||||
|
||||
// _crypto_cipher_Stream is an interface wrapper for Stream type
|
||||
type _crypto_cipher_Stream struct {
|
||||
IValue interface{}
|
||||
WXORKeyStream func(dst []byte, src []byte)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ func init() {
|
||||
|
||||
// _crypto_elliptic_Curve is an interface wrapper for Curve type
|
||||
type _crypto_elliptic_Curve struct {
|
||||
IValue interface{}
|
||||
WAdd func(x1 *big.Int, y1 *big.Int, x2 *big.Int, y2 *big.Int) (x *big.Int, y *big.Int)
|
||||
WDouble func(x1 *big.Int, y1 *big.Int) (x *big.Int, y *big.Int)
|
||||
WIsOnCurve func(x *big.Int, y *big.Int) bool
|
||||
|
||||
@@ -108,8 +108,9 @@ func init() {
|
||||
|
||||
// _crypto_tls_ClientSessionCache is an interface wrapper for ClientSessionCache type
|
||||
type _crypto_tls_ClientSessionCache struct {
|
||||
WGet func(sessionKey string) (session *tls.ClientSessionState, ok bool)
|
||||
WPut func(sessionKey string, cs *tls.ClientSessionState)
|
||||
IValue interface{}
|
||||
WGet func(sessionKey string) (session *tls.ClientSessionState, ok bool)
|
||||
WPut func(sessionKey string, cs *tls.ClientSessionState)
|
||||
}
|
||||
|
||||
func (W _crypto_tls_ClientSessionCache) Get(sessionKey string) (session *tls.ClientSessionState, ok bool) {
|
||||
|
||||
@@ -60,6 +60,7 @@ func init() {
|
||||
|
||||
// _database_sql_Result is an interface wrapper for Result type
|
||||
type _database_sql_Result struct {
|
||||
IValue interface{}
|
||||
WLastInsertId func() (int64, error)
|
||||
WRowsAffected func() (int64, error)
|
||||
}
|
||||
@@ -69,7 +70,8 @@ func (W _database_sql_Result) RowsAffected() (int64, error) { return W.WRowsAffe
|
||||
|
||||
// _database_sql_Scanner is an interface wrapper for Scanner type
|
||||
type _database_sql_Scanner struct {
|
||||
WScan func(src interface{}) error
|
||||
IValue interface{}
|
||||
WScan func(src interface{}) error
|
||||
}
|
||||
|
||||
func (W _database_sql_Scanner) Scan(src interface{}) error { return W.WScan(src) }
|
||||
|
||||
@@ -98,6 +98,7 @@ func init() {
|
||||
|
||||
// _database_sql_driver_ColumnConverter is an interface wrapper for ColumnConverter type
|
||||
type _database_sql_driver_ColumnConverter struct {
|
||||
IValue interface{}
|
||||
WColumnConverter func(idx int) driver.ValueConverter
|
||||
}
|
||||
|
||||
@@ -107,6 +108,7 @@ func (W _database_sql_driver_ColumnConverter) ColumnConverter(idx int) driver.Va
|
||||
|
||||
// _database_sql_driver_Conn is an interface wrapper for Conn type
|
||||
type _database_sql_driver_Conn struct {
|
||||
IValue interface{}
|
||||
WBegin func() (driver.Tx, error)
|
||||
WClose func() error
|
||||
WPrepare func(query string) (driver.Stmt, error)
|
||||
@@ -120,6 +122,7 @@ func (W _database_sql_driver_Conn) Prepare(query string) (driver.Stmt, error) {
|
||||
|
||||
// _database_sql_driver_ConnBeginTx is an interface wrapper for ConnBeginTx type
|
||||
type _database_sql_driver_ConnBeginTx struct {
|
||||
IValue interface{}
|
||||
WBeginTx func(ctx context.Context, opts driver.TxOptions) (driver.Tx, error)
|
||||
}
|
||||
|
||||
@@ -129,6 +132,7 @@ func (W _database_sql_driver_ConnBeginTx) BeginTx(ctx context.Context, opts driv
|
||||
|
||||
// _database_sql_driver_ConnPrepareContext is an interface wrapper for ConnPrepareContext type
|
||||
type _database_sql_driver_ConnPrepareContext struct {
|
||||
IValue interface{}
|
||||
WPrepareContext func(ctx context.Context, query string) (driver.Stmt, error)
|
||||
}
|
||||
|
||||
@@ -138,6 +142,7 @@ func (W _database_sql_driver_ConnPrepareContext) PrepareContext(ctx context.Cont
|
||||
|
||||
// _database_sql_driver_Connector is an interface wrapper for Connector type
|
||||
type _database_sql_driver_Connector struct {
|
||||
IValue interface{}
|
||||
WConnect func(a0 context.Context) (driver.Conn, error)
|
||||
WDriver func() driver.Driver
|
||||
}
|
||||
@@ -149,13 +154,15 @@ func (W _database_sql_driver_Connector) Driver() driver.Driver { return W.WDrive
|
||||
|
||||
// _database_sql_driver_Driver is an interface wrapper for Driver type
|
||||
type _database_sql_driver_Driver struct {
|
||||
WOpen func(name string) (driver.Conn, error)
|
||||
IValue interface{}
|
||||
WOpen func(name string) (driver.Conn, error)
|
||||
}
|
||||
|
||||
func (W _database_sql_driver_Driver) Open(name string) (driver.Conn, error) { return W.WOpen(name) }
|
||||
|
||||
// _database_sql_driver_DriverContext is an interface wrapper for DriverContext type
|
||||
type _database_sql_driver_DriverContext struct {
|
||||
IValue interface{}
|
||||
WOpenConnector func(name string) (driver.Connector, error)
|
||||
}
|
||||
|
||||
@@ -165,7 +172,8 @@ func (W _database_sql_driver_DriverContext) OpenConnector(name string) (driver.C
|
||||
|
||||
// _database_sql_driver_Execer is an interface wrapper for Execer type
|
||||
type _database_sql_driver_Execer struct {
|
||||
WExec func(query string, args []driver.Value) (driver.Result, error)
|
||||
IValue interface{}
|
||||
WExec func(query string, args []driver.Value) (driver.Result, error)
|
||||
}
|
||||
|
||||
func (W _database_sql_driver_Execer) Exec(query string, args []driver.Value) (driver.Result, error) {
|
||||
@@ -174,6 +182,7 @@ func (W _database_sql_driver_Execer) Exec(query string, args []driver.Value) (dr
|
||||
|
||||
// _database_sql_driver_ExecerContext is an interface wrapper for ExecerContext type
|
||||
type _database_sql_driver_ExecerContext struct {
|
||||
IValue interface{}
|
||||
WExecContext func(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error)
|
||||
}
|
||||
|
||||
@@ -183,6 +192,7 @@ func (W _database_sql_driver_ExecerContext) ExecContext(ctx context.Context, que
|
||||
|
||||
// _database_sql_driver_NamedValueChecker is an interface wrapper for NamedValueChecker type
|
||||
type _database_sql_driver_NamedValueChecker struct {
|
||||
IValue interface{}
|
||||
WCheckNamedValue func(a0 *driver.NamedValue) error
|
||||
}
|
||||
|
||||
@@ -192,13 +202,15 @@ func (W _database_sql_driver_NamedValueChecker) CheckNamedValue(a0 *driver.Named
|
||||
|
||||
// _database_sql_driver_Pinger is an interface wrapper for Pinger type
|
||||
type _database_sql_driver_Pinger struct {
|
||||
WPing func(ctx context.Context) error
|
||||
IValue interface{}
|
||||
WPing func(ctx context.Context) error
|
||||
}
|
||||
|
||||
func (W _database_sql_driver_Pinger) Ping(ctx context.Context) error { return W.WPing(ctx) }
|
||||
|
||||
// _database_sql_driver_Queryer is an interface wrapper for Queryer type
|
||||
type _database_sql_driver_Queryer struct {
|
||||
IValue interface{}
|
||||
WQuery func(query string, args []driver.Value) (driver.Rows, error)
|
||||
}
|
||||
|
||||
@@ -208,6 +220,7 @@ func (W _database_sql_driver_Queryer) Query(query string, args []driver.Value) (
|
||||
|
||||
// _database_sql_driver_QueryerContext is an interface wrapper for QueryerContext type
|
||||
type _database_sql_driver_QueryerContext struct {
|
||||
IValue interface{}
|
||||
WQueryContext func(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)
|
||||
}
|
||||
|
||||
@@ -217,6 +230,7 @@ func (W _database_sql_driver_QueryerContext) QueryContext(ctx context.Context, q
|
||||
|
||||
// _database_sql_driver_Result is an interface wrapper for Result type
|
||||
type _database_sql_driver_Result struct {
|
||||
IValue interface{}
|
||||
WLastInsertId func() (int64, error)
|
||||
WRowsAffected func() (int64, error)
|
||||
}
|
||||
@@ -226,6 +240,7 @@ func (W _database_sql_driver_Result) RowsAffected() (int64, error) { return W.WR
|
||||
|
||||
// _database_sql_driver_Rows is an interface wrapper for Rows type
|
||||
type _database_sql_driver_Rows struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumns func() []string
|
||||
WNext func(dest []driver.Value) error
|
||||
@@ -237,6 +252,7 @@ func (W _database_sql_driver_Rows) Next(dest []driver.Value) error { return W.WN
|
||||
|
||||
// _database_sql_driver_RowsColumnTypeDatabaseTypeName is an interface wrapper for RowsColumnTypeDatabaseTypeName type
|
||||
type _database_sql_driver_RowsColumnTypeDatabaseTypeName struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypeDatabaseTypeName func(index int) string
|
||||
WColumns func() []string
|
||||
@@ -254,6 +270,7 @@ func (W _database_sql_driver_RowsColumnTypeDatabaseTypeName) Next(dest []driver.
|
||||
|
||||
// _database_sql_driver_RowsColumnTypeLength is an interface wrapper for RowsColumnTypeLength type
|
||||
type _database_sql_driver_RowsColumnTypeLength struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypeLength func(index int) (length int64, ok bool)
|
||||
WColumns func() []string
|
||||
@@ -271,6 +288,7 @@ func (W _database_sql_driver_RowsColumnTypeLength) Next(dest []driver.Value) err
|
||||
|
||||
// _database_sql_driver_RowsColumnTypeNullable is an interface wrapper for RowsColumnTypeNullable type
|
||||
type _database_sql_driver_RowsColumnTypeNullable struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypeNullable func(index int) (nullable bool, ok bool)
|
||||
WColumns func() []string
|
||||
@@ -288,6 +306,7 @@ func (W _database_sql_driver_RowsColumnTypeNullable) Next(dest []driver.Value) e
|
||||
|
||||
// _database_sql_driver_RowsColumnTypePrecisionScale is an interface wrapper for RowsColumnTypePrecisionScale type
|
||||
type _database_sql_driver_RowsColumnTypePrecisionScale struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypePrecisionScale func(index int) (precision int64, scale int64, ok bool)
|
||||
WColumns func() []string
|
||||
@@ -305,6 +324,7 @@ func (W _database_sql_driver_RowsColumnTypePrecisionScale) Next(dest []driver.Va
|
||||
|
||||
// _database_sql_driver_RowsColumnTypeScanType is an interface wrapper for RowsColumnTypeScanType type
|
||||
type _database_sql_driver_RowsColumnTypeScanType struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumnTypeScanType func(index int) reflect.Type
|
||||
WColumns func() []string
|
||||
@@ -322,6 +342,7 @@ func (W _database_sql_driver_RowsColumnTypeScanType) Next(dest []driver.Value) e
|
||||
|
||||
// _database_sql_driver_RowsNextResultSet is an interface wrapper for RowsNextResultSet type
|
||||
type _database_sql_driver_RowsNextResultSet struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WColumns func() []string
|
||||
WHasNextResultSet func() bool
|
||||
@@ -337,6 +358,7 @@ func (W _database_sql_driver_RowsNextResultSet) NextResultSet() error
|
||||
|
||||
// _database_sql_driver_SessionResetter is an interface wrapper for SessionResetter type
|
||||
type _database_sql_driver_SessionResetter struct {
|
||||
IValue interface{}
|
||||
WResetSession func(ctx context.Context) error
|
||||
}
|
||||
|
||||
@@ -346,6 +368,7 @@ func (W _database_sql_driver_SessionResetter) ResetSession(ctx context.Context)
|
||||
|
||||
// _database_sql_driver_Stmt is an interface wrapper for Stmt type
|
||||
type _database_sql_driver_Stmt struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WExec func(args []driver.Value) (driver.Result, error)
|
||||
WNumInput func() int
|
||||
@@ -363,6 +386,7 @@ func (W _database_sql_driver_Stmt) Query(args []driver.Value) (driver.Rows, erro
|
||||
|
||||
// _database_sql_driver_StmtExecContext is an interface wrapper for StmtExecContext type
|
||||
type _database_sql_driver_StmtExecContext struct {
|
||||
IValue interface{}
|
||||
WExecContext func(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
|
||||
}
|
||||
|
||||
@@ -372,6 +396,7 @@ func (W _database_sql_driver_StmtExecContext) ExecContext(ctx context.Context, a
|
||||
|
||||
// _database_sql_driver_StmtQueryContext is an interface wrapper for StmtQueryContext type
|
||||
type _database_sql_driver_StmtQueryContext struct {
|
||||
IValue interface{}
|
||||
WQueryContext func(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
|
||||
}
|
||||
|
||||
@@ -381,6 +406,7 @@ func (W _database_sql_driver_StmtQueryContext) QueryContext(ctx context.Context,
|
||||
|
||||
// _database_sql_driver_Tx is an interface wrapper for Tx type
|
||||
type _database_sql_driver_Tx struct {
|
||||
IValue interface{}
|
||||
WCommit func() error
|
||||
WRollback func() error
|
||||
}
|
||||
@@ -390,6 +416,7 @@ func (W _database_sql_driver_Tx) Rollback() error { return W.WRollback() }
|
||||
|
||||
// _database_sql_driver_Validator is an interface wrapper for Validator type
|
||||
type _database_sql_driver_Validator struct {
|
||||
IValue interface{}
|
||||
WIsValid func() bool
|
||||
}
|
||||
|
||||
@@ -397,10 +424,12 @@ func (W _database_sql_driver_Validator) IsValid() bool { return W.WIsValid() }
|
||||
|
||||
// _database_sql_driver_Value is an interface wrapper for Value type
|
||||
type _database_sql_driver_Value struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _database_sql_driver_ValueConverter is an interface wrapper for ValueConverter type
|
||||
type _database_sql_driver_ValueConverter struct {
|
||||
IValue interface{}
|
||||
WConvertValue func(v interface{}) (driver.Value, error)
|
||||
}
|
||||
|
||||
@@ -410,6 +439,7 @@ func (W _database_sql_driver_ValueConverter) ConvertValue(v interface{}) (driver
|
||||
|
||||
// _database_sql_driver_Valuer is an interface wrapper for Valuer type
|
||||
type _database_sql_driver_Valuer struct {
|
||||
IValue interface{}
|
||||
WValue func() (driver.Value, error)
|
||||
}
|
||||
|
||||
|
||||
@@ -271,6 +271,7 @@ func init() {
|
||||
|
||||
// _debug_dwarf_Type is an interface wrapper for Type type
|
||||
type _debug_dwarf_Type struct {
|
||||
IValue interface{}
|
||||
WCommon func() *dwarf.CommonType
|
||||
WSize func() int64
|
||||
WString func() string
|
||||
|
||||
@@ -150,7 +150,8 @@ func init() {
|
||||
|
||||
// _debug_macho_Load is an interface wrapper for Load type
|
||||
type _debug_macho_Load struct {
|
||||
WRaw func() []byte
|
||||
IValue interface{}
|
||||
WRaw func() []byte
|
||||
}
|
||||
|
||||
func (W _debug_macho_Load) Raw() []byte { return W.WRaw() }
|
||||
|
||||
@@ -27,6 +27,7 @@ func init() {
|
||||
|
||||
// _encoding_BinaryMarshaler is an interface wrapper for BinaryMarshaler type
|
||||
type _encoding_BinaryMarshaler struct {
|
||||
IValue interface{}
|
||||
WMarshalBinary func() (data []byte, err error)
|
||||
}
|
||||
|
||||
@@ -36,6 +37,7 @@ func (W _encoding_BinaryMarshaler) MarshalBinary() (data []byte, err error) {
|
||||
|
||||
// _encoding_BinaryUnmarshaler is an interface wrapper for BinaryUnmarshaler type
|
||||
type _encoding_BinaryUnmarshaler struct {
|
||||
IValue interface{}
|
||||
WUnmarshalBinary func(data []byte) error
|
||||
}
|
||||
|
||||
@@ -45,6 +47,7 @@ func (W _encoding_BinaryUnmarshaler) UnmarshalBinary(data []byte) error {
|
||||
|
||||
// _encoding_TextMarshaler is an interface wrapper for TextMarshaler type
|
||||
type _encoding_TextMarshaler struct {
|
||||
IValue interface{}
|
||||
WMarshalText func() (text []byte, err error)
|
||||
}
|
||||
|
||||
@@ -52,6 +55,7 @@ func (W _encoding_TextMarshaler) MarshalText() (text []byte, err error) { return
|
||||
|
||||
// _encoding_TextUnmarshaler is an interface wrapper for TextUnmarshaler type
|
||||
type _encoding_TextUnmarshaler struct {
|
||||
IValue interface{}
|
||||
WUnmarshalText func(text []byte) error
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ func init() {
|
||||
|
||||
// _encoding_binary_ByteOrder is an interface wrapper for ByteOrder type
|
||||
type _encoding_binary_ByteOrder struct {
|
||||
IValue interface{}
|
||||
WPutUint16 func(a0 []byte, a1 uint16)
|
||||
WPutUint32 func(a0 []byte, a1 uint32)
|
||||
WPutUint64 func(a0 []byte, a1 uint64)
|
||||
|
||||
@@ -32,6 +32,7 @@ func init() {
|
||||
|
||||
// _encoding_gob_GobDecoder is an interface wrapper for GobDecoder type
|
||||
type _encoding_gob_GobDecoder struct {
|
||||
IValue interface{}
|
||||
WGobDecode func(a0 []byte) error
|
||||
}
|
||||
|
||||
@@ -39,6 +40,7 @@ func (W _encoding_gob_GobDecoder) GobDecode(a0 []byte) error { return W.WGobDeco
|
||||
|
||||
// _encoding_gob_GobEncoder is an interface wrapper for GobEncoder type
|
||||
type _encoding_gob_GobEncoder struct {
|
||||
IValue interface{}
|
||||
WGobEncode func() ([]byte, error)
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ func init() {
|
||||
|
||||
// _encoding_json_Marshaler is an interface wrapper for Marshaler type
|
||||
type _encoding_json_Marshaler struct {
|
||||
IValue interface{}
|
||||
WMarshalJSON func() ([]byte, error)
|
||||
}
|
||||
|
||||
@@ -56,10 +57,12 @@ func (W _encoding_json_Marshaler) MarshalJSON() ([]byte, error) { return W.WMars
|
||||
|
||||
// _encoding_json_Token is an interface wrapper for Token type
|
||||
type _encoding_json_Token struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _encoding_json_Unmarshaler is an interface wrapper for Unmarshaler type
|
||||
type _encoding_json_Unmarshaler struct {
|
||||
IValue interface{}
|
||||
WUnmarshalJSON func(a0 []byte) error
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ func init() {
|
||||
|
||||
// _encoding_xml_Marshaler is an interface wrapper for Marshaler type
|
||||
type _encoding_xml_Marshaler struct {
|
||||
IValue interface{}
|
||||
WMarshalXML func(e *xml.Encoder, start xml.StartElement) error
|
||||
}
|
||||
|
||||
@@ -70,6 +71,7 @@ func (W _encoding_xml_Marshaler) MarshalXML(e *xml.Encoder, start xml.StartEleme
|
||||
|
||||
// _encoding_xml_MarshalerAttr is an interface wrapper for MarshalerAttr type
|
||||
type _encoding_xml_MarshalerAttr struct {
|
||||
IValue interface{}
|
||||
WMarshalXMLAttr func(name xml.Name) (xml.Attr, error)
|
||||
}
|
||||
|
||||
@@ -79,10 +81,12 @@ func (W _encoding_xml_MarshalerAttr) MarshalXMLAttr(name xml.Name) (xml.Attr, er
|
||||
|
||||
// _encoding_xml_Token is an interface wrapper for Token type
|
||||
type _encoding_xml_Token struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
// _encoding_xml_TokenReader is an interface wrapper for TokenReader type
|
||||
type _encoding_xml_TokenReader struct {
|
||||
IValue interface{}
|
||||
WToken func() (xml.Token, error)
|
||||
}
|
||||
|
||||
@@ -90,6 +94,7 @@ func (W _encoding_xml_TokenReader) Token() (xml.Token, error) { return W.WToken(
|
||||
|
||||
// _encoding_xml_Unmarshaler is an interface wrapper for Unmarshaler type
|
||||
type _encoding_xml_Unmarshaler struct {
|
||||
IValue interface{}
|
||||
WUnmarshalXML func(d *xml.Decoder, start xml.StartElement) error
|
||||
}
|
||||
|
||||
@@ -99,6 +104,7 @@ func (W _encoding_xml_Unmarshaler) UnmarshalXML(d *xml.Decoder, start xml.StartE
|
||||
|
||||
// _encoding_xml_UnmarshalerAttr is an interface wrapper for UnmarshalerAttr type
|
||||
type _encoding_xml_UnmarshalerAttr struct {
|
||||
IValue interface{}
|
||||
WUnmarshalXMLAttr func(attr xml.Attr) error
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ func init() {
|
||||
|
||||
// _expvar_Var is an interface wrapper for Var type
|
||||
type _expvar_Var struct {
|
||||
IValue interface{}
|
||||
WString func() string
|
||||
}
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ func init() {
|
||||
|
||||
// _flag_Getter is an interface wrapper for Getter type
|
||||
type _flag_Getter struct {
|
||||
IValue interface{}
|
||||
WGet func() interface{}
|
||||
WSet func(a0 string) error
|
||||
WString func() string
|
||||
@@ -76,6 +77,7 @@ func (W _flag_Getter) String() string { return W.WString() }
|
||||
|
||||
// _flag_Value is an interface wrapper for Value type
|
||||
type _flag_Value struct {
|
||||
IValue interface{}
|
||||
WSet func(a0 string) error
|
||||
WString func() string
|
||||
}
|
||||
|
||||
@@ -52,6 +52,7 @@ func init() {
|
||||
|
||||
// _fmt_Formatter is an interface wrapper for Formatter type
|
||||
type _fmt_Formatter struct {
|
||||
IValue interface{}
|
||||
WFormat func(f fmt.State, verb rune)
|
||||
}
|
||||
|
||||
@@ -59,6 +60,7 @@ func (W _fmt_Formatter) Format(f fmt.State, verb rune) { W.WFormat(f, verb) }
|
||||
|
||||
// _fmt_GoStringer is an interface wrapper for GoStringer type
|
||||
type _fmt_GoStringer struct {
|
||||
IValue interface{}
|
||||
WGoString func() string
|
||||
}
|
||||
|
||||
@@ -66,6 +68,7 @@ func (W _fmt_GoStringer) GoString() string { return W.WGoString() }
|
||||
|
||||
// _fmt_ScanState is an interface wrapper for ScanState type
|
||||
type _fmt_ScanState struct {
|
||||
IValue interface{}
|
||||
WRead func(buf []byte) (n int, err error)
|
||||
WReadRune func() (r rune, size int, err error)
|
||||
WSkipSpace func()
|
||||
@@ -85,13 +88,15 @@ func (W _fmt_ScanState) Width() (wid int, ok bool) { return W.WWidth() }
|
||||
|
||||
// _fmt_Scanner is an interface wrapper for Scanner type
|
||||
type _fmt_Scanner struct {
|
||||
WScan func(state fmt.ScanState, verb rune) error
|
||||
IValue interface{}
|
||||
WScan func(state fmt.ScanState, verb rune) error
|
||||
}
|
||||
|
||||
func (W _fmt_Scanner) Scan(state fmt.ScanState, verb rune) error { return W.WScan(state, verb) }
|
||||
|
||||
// _fmt_State is an interface wrapper for State type
|
||||
type _fmt_State struct {
|
||||
IValue interface{}
|
||||
WFlag func(c int) bool
|
||||
WPrecision func() (prec int, ok bool)
|
||||
WWidth func() (wid int, ok bool)
|
||||
@@ -105,6 +110,7 @@ func (W _fmt_State) Write(b []byte) (n int, err error) { return W.WWrite(b) }
|
||||
|
||||
// _fmt_Stringer is an interface wrapper for Stringer type
|
||||
type _fmt_Stringer struct {
|
||||
IValue interface{}
|
||||
WString func() string
|
||||
}
|
||||
|
||||
|
||||
@@ -128,8 +128,9 @@ func init() {
|
||||
|
||||
// _go_ast_Decl is an interface wrapper for Decl type
|
||||
type _go_ast_Decl struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Decl) End() token.Pos { return W.WEnd() }
|
||||
@@ -137,8 +138,9 @@ func (W _go_ast_Decl) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Expr is an interface wrapper for Expr type
|
||||
type _go_ast_Expr struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Expr) End() token.Pos { return W.WEnd() }
|
||||
@@ -146,8 +148,9 @@ func (W _go_ast_Expr) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Node is an interface wrapper for Node type
|
||||
type _go_ast_Node struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Node) End() token.Pos { return W.WEnd() }
|
||||
@@ -155,8 +158,9 @@ func (W _go_ast_Node) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Spec is an interface wrapper for Spec type
|
||||
type _go_ast_Spec struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Spec) End() token.Pos { return W.WEnd() }
|
||||
@@ -164,8 +168,9 @@ func (W _go_ast_Spec) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Stmt is an interface wrapper for Stmt type
|
||||
type _go_ast_Stmt struct {
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
IValue interface{}
|
||||
WEnd func() token.Pos
|
||||
WPos func() token.Pos
|
||||
}
|
||||
|
||||
func (W _go_ast_Stmt) End() token.Pos { return W.WEnd() }
|
||||
@@ -173,6 +178,7 @@ func (W _go_ast_Stmt) Pos() token.Pos { return W.WPos() }
|
||||
|
||||
// _go_ast_Visitor is an interface wrapper for Visitor type
|
||||
type _go_ast_Visitor struct {
|
||||
IValue interface{}
|
||||
WVisit func(node ast.Node) (w ast.Visitor)
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ func init() {
|
||||
|
||||
// _go_constant_Value is an interface wrapper for Value type
|
||||
type _go_constant_Value struct {
|
||||
IValue interface{}
|
||||
WExactString func() string
|
||||
WKind func() constant.Kind
|
||||
WString func() string
|
||||
|
||||
@@ -162,6 +162,7 @@ func init() {
|
||||
|
||||
// _go_types_Importer is an interface wrapper for Importer type
|
||||
type _go_types_Importer struct {
|
||||
IValue interface{}
|
||||
WImport func(path string) (*types.Package, error)
|
||||
}
|
||||
|
||||
@@ -169,6 +170,7 @@ func (W _go_types_Importer) Import(path string) (*types.Package, error) { return
|
||||
|
||||
// _go_types_ImporterFrom is an interface wrapper for ImporterFrom type
|
||||
type _go_types_ImporterFrom struct {
|
||||
IValue interface{}
|
||||
WImport func(path string) (*types.Package, error)
|
||||
WImportFrom func(path string, dir string, mode types.ImportMode) (*types.Package, error)
|
||||
}
|
||||
@@ -180,6 +182,7 @@ func (W _go_types_ImporterFrom) ImportFrom(path string, dir string, mode types.I
|
||||
|
||||
// _go_types_Object is an interface wrapper for Object type
|
||||
type _go_types_Object struct {
|
||||
IValue interface{}
|
||||
WExported func() bool
|
||||
WId func() string
|
||||
WName func() string
|
||||
@@ -201,6 +204,7 @@ func (W _go_types_Object) Type() types.Type { return W.WType() }
|
||||
|
||||
// _go_types_Sizes is an interface wrapper for Sizes type
|
||||
type _go_types_Sizes struct {
|
||||
IValue interface{}
|
||||
WAlignof func(T types.Type) int64
|
||||
WOffsetsof func(fields []*types.Var) []int64
|
||||
WSizeof func(T types.Type) int64
|
||||
@@ -212,6 +216,7 @@ func (W _go_types_Sizes) Sizeof(T types.Type) int64 { return W.WSize
|
||||
|
||||
// _go_types_Type is an interface wrapper for Type type
|
||||
type _go_types_Type struct {
|
||||
IValue interface{}
|
||||
WString func() string
|
||||
WUnderlying func() types.Type
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ func init() {
|
||||
|
||||
// _hash_Hash is an interface wrapper for Hash type
|
||||
type _hash_Hash struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WReset func()
|
||||
WSize func() int
|
||||
@@ -40,6 +41,7 @@ func (W _hash_Hash) Write(p []byte) (n int, err error) { return W.WWrite(p) }
|
||||
|
||||
// _hash_Hash32 is an interface wrapper for Hash32 type
|
||||
type _hash_Hash32 struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WReset func()
|
||||
WSize func() int
|
||||
@@ -57,6 +59,7 @@ func (W _hash_Hash32) Write(p []byte) (n int, err error) { return W.WWrite(p) }
|
||||
|
||||
// _hash_Hash64 is an interface wrapper for Hash64 type
|
||||
type _hash_Hash64 struct {
|
||||
IValue interface{}
|
||||
WBlockSize func() int
|
||||
WReset func()
|
||||
WSize func() int
|
||||
|
||||
@@ -74,6 +74,7 @@ func init() {
|
||||
|
||||
// _image_Image is an interface wrapper for Image type
|
||||
type _image_Image struct {
|
||||
IValue interface{}
|
||||
WAt func(x int, y int) color.Color
|
||||
WBounds func() image.Rectangle
|
||||
WColorModel func() color.Model
|
||||
@@ -85,6 +86,7 @@ func (W _image_Image) ColorModel() color.Model { return W.WColorModel() }
|
||||
|
||||
// _image_PalettedImage is an interface wrapper for PalettedImage type
|
||||
type _image_PalettedImage struct {
|
||||
IValue interface{}
|
||||
WAt func(x int, y int) color.Color
|
||||
WBounds func() image.Rectangle
|
||||
WColorIndexAt func(x int, y int) uint8
|
||||
|
||||
@@ -57,13 +57,15 @@ func init() {
|
||||
|
||||
// _image_color_Color is an interface wrapper for Color type
|
||||
type _image_color_Color struct {
|
||||
WRGBA func() (r uint32, g uint32, b uint32, a uint32)
|
||||
IValue interface{}
|
||||
WRGBA func() (r uint32, g uint32, b uint32, a uint32)
|
||||
}
|
||||
|
||||
func (W _image_color_Color) RGBA() (r uint32, g uint32, b uint32, a uint32) { return W.WRGBA() }
|
||||
|
||||
// _image_color_Model is an interface wrapper for Model type
|
||||
type _image_color_Model struct {
|
||||
IValue interface{}
|
||||
WConvert func(c color.Color) color.Color
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,8 @@ func init() {
|
||||
|
||||
// _image_draw_Drawer is an interface wrapper for Drawer type
|
||||
type _image_draw_Drawer struct {
|
||||
WDraw func(dst draw.Image, r image.Rectangle, src image.Image, sp image.Point)
|
||||
IValue interface{}
|
||||
WDraw func(dst draw.Image, r image.Rectangle, src image.Image, sp image.Point)
|
||||
}
|
||||
|
||||
func (W _image_draw_Drawer) Draw(dst draw.Image, r image.Rectangle, src image.Image, sp image.Point) {
|
||||
@@ -44,6 +45,7 @@ func (W _image_draw_Drawer) Draw(dst draw.Image, r image.Rectangle, src image.Im
|
||||
|
||||
// _image_draw_Image is an interface wrapper for Image type
|
||||
type _image_draw_Image struct {
|
||||
IValue interface{}
|
||||
WAt func(x int, y int) color.Color
|
||||
WBounds func() image.Rectangle
|
||||
WColorModel func() color.Model
|
||||
@@ -57,6 +59,7 @@ func (W _image_draw_Image) Set(x int, y int, c color.Color) { W.WSet(x, y, c) }
|
||||
|
||||
// _image_draw_Quantizer is an interface wrapper for Quantizer type
|
||||
type _image_draw_Quantizer struct {
|
||||
IValue interface{}
|
||||
WQuantize func(p color.Palette, m image.Image) color.Palette
|
||||
}
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ func init() {
|
||||
|
||||
// _image_jpeg_Reader is an interface wrapper for Reader type
|
||||
type _image_jpeg_Reader struct {
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WReadByte func() (byte, error)
|
||||
}
|
||||
|
||||
@@ -35,8 +35,9 @@ func init() {
|
||||
|
||||
// _image_png_EncoderBufferPool is an interface wrapper for EncoderBufferPool type
|
||||
type _image_png_EncoderBufferPool struct {
|
||||
WGet func() *png.EncoderBuffer
|
||||
WPut func(a0 *png.EncoderBuffer)
|
||||
IValue interface{}
|
||||
WGet func() *png.EncoderBuffer
|
||||
WPut func(a0 *png.EncoderBuffer)
|
||||
}
|
||||
|
||||
func (W _image_png_EncoderBufferPool) Get() *png.EncoderBuffer { return W.WGet() }
|
||||
|
||||
@@ -95,6 +95,7 @@ func init() {
|
||||
|
||||
// _io_ByteReader is an interface wrapper for ByteReader type
|
||||
type _io_ByteReader struct {
|
||||
IValue interface{}
|
||||
WReadByte func() (byte, error)
|
||||
}
|
||||
|
||||
@@ -102,6 +103,7 @@ func (W _io_ByteReader) ReadByte() (byte, error) { return W.WReadByte() }
|
||||
|
||||
// _io_ByteScanner is an interface wrapper for ByteScanner type
|
||||
type _io_ByteScanner struct {
|
||||
IValue interface{}
|
||||
WReadByte func() (byte, error)
|
||||
WUnreadByte func() error
|
||||
}
|
||||
@@ -111,6 +113,7 @@ func (W _io_ByteScanner) UnreadByte() error { return W.WUnreadByte() }
|
||||
|
||||
// _io_ByteWriter is an interface wrapper for ByteWriter type
|
||||
type _io_ByteWriter struct {
|
||||
IValue interface{}
|
||||
WWriteByte func(c byte) error
|
||||
}
|
||||
|
||||
@@ -118,6 +121,7 @@ func (W _io_ByteWriter) WriteByte(c byte) error { return W.WWriteByte(c) }
|
||||
|
||||
// _io_Closer is an interface wrapper for Closer type
|
||||
type _io_Closer struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
}
|
||||
|
||||
@@ -125,6 +129,7 @@ func (W _io_Closer) Close() error { return W.WClose() }
|
||||
|
||||
// _io_ReadCloser is an interface wrapper for ReadCloser type
|
||||
type _io_ReadCloser struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
}
|
||||
@@ -134,6 +139,7 @@ func (W _io_ReadCloser) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
|
||||
// _io_ReadSeekCloser is an interface wrapper for ReadSeekCloser type
|
||||
type _io_ReadSeekCloser struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
@@ -147,8 +153,9 @@ func (W _io_ReadSeekCloser) Seek(offset int64, whence int) (int64, error) {
|
||||
|
||||
// _io_ReadSeeker is an interface wrapper for ReadSeeker type
|
||||
type _io_ReadSeeker struct {
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
}
|
||||
|
||||
func (W _io_ReadSeeker) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
@@ -156,6 +163,7 @@ func (W _io_ReadSeeker) Seek(offset int64, whence int) (int64, error) { return W
|
||||
|
||||
// _io_ReadWriteCloser is an interface wrapper for ReadWriteCloser type
|
||||
type _io_ReadWriteCloser struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
@@ -167,6 +175,7 @@ func (W _io_ReadWriteCloser) Write(p []byte) (n int, err error) { return W.WWrit
|
||||
|
||||
// _io_ReadWriteSeeker is an interface wrapper for ReadWriteSeeker type
|
||||
type _io_ReadWriteSeeker struct {
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
@@ -180,6 +189,7 @@ func (W _io_ReadWriteSeeker) Write(p []byte) (n int, err error) { return W.WWrit
|
||||
|
||||
// _io_ReadWriter is an interface wrapper for ReadWriter type
|
||||
type _io_ReadWriter struct {
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
}
|
||||
@@ -189,13 +199,15 @@ func (W _io_ReadWriter) Write(p []byte) (n int, err error) { return W.WWrite(p)
|
||||
|
||||
// _io_Reader is an interface wrapper for Reader type
|
||||
type _io_Reader struct {
|
||||
WRead func(p []byte) (n int, err error)
|
||||
IValue interface{}
|
||||
WRead func(p []byte) (n int, err error)
|
||||
}
|
||||
|
||||
func (W _io_Reader) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
|
||||
// _io_ReaderAt is an interface wrapper for ReaderAt type
|
||||
type _io_ReaderAt struct {
|
||||
IValue interface{}
|
||||
WReadAt func(p []byte, off int64) (n int, err error)
|
||||
}
|
||||
|
||||
@@ -203,6 +215,7 @@ func (W _io_ReaderAt) ReadAt(p []byte, off int64) (n int, err error) { return W.
|
||||
|
||||
// _io_ReaderFrom is an interface wrapper for ReaderFrom type
|
||||
type _io_ReaderFrom struct {
|
||||
IValue interface{}
|
||||
WReadFrom func(r io.Reader) (n int64, err error)
|
||||
}
|
||||
|
||||
@@ -210,6 +223,7 @@ func (W _io_ReaderFrom) ReadFrom(r io.Reader) (n int64, err error) { return W.WR
|
||||
|
||||
// _io_RuneReader is an interface wrapper for RuneReader type
|
||||
type _io_RuneReader struct {
|
||||
IValue interface{}
|
||||
WReadRune func() (r rune, size int, err error)
|
||||
}
|
||||
|
||||
@@ -217,6 +231,7 @@ func (W _io_RuneReader) ReadRune() (r rune, size int, err error) { return W.WRea
|
||||
|
||||
// _io_RuneScanner is an interface wrapper for RuneScanner type
|
||||
type _io_RuneScanner struct {
|
||||
IValue interface{}
|
||||
WReadRune func() (r rune, size int, err error)
|
||||
WUnreadRune func() error
|
||||
}
|
||||
@@ -226,13 +241,15 @@ func (W _io_RuneScanner) UnreadRune() error { return W.WUn
|
||||
|
||||
// _io_Seeker is an interface wrapper for Seeker type
|
||||
type _io_Seeker struct {
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
IValue interface{}
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
}
|
||||
|
||||
func (W _io_Seeker) Seek(offset int64, whence int) (int64, error) { return W.WSeek(offset, whence) }
|
||||
|
||||
// _io_StringWriter is an interface wrapper for StringWriter type
|
||||
type _io_StringWriter struct {
|
||||
IValue interface{}
|
||||
WWriteString func(s string) (n int, err error)
|
||||
}
|
||||
|
||||
@@ -240,6 +257,7 @@ func (W _io_StringWriter) WriteString(s string) (n int, err error) { return W.WW
|
||||
|
||||
// _io_WriteCloser is an interface wrapper for WriteCloser type
|
||||
type _io_WriteCloser struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
}
|
||||
@@ -249,6 +267,7 @@ func (W _io_WriteCloser) Write(p []byte) (n int, err error) { return W.WWrite(p)
|
||||
|
||||
// _io_WriteSeeker is an interface wrapper for WriteSeeker type
|
||||
type _io_WriteSeeker struct {
|
||||
IValue interface{}
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
}
|
||||
@@ -260,6 +279,7 @@ func (W _io_WriteSeeker) Write(p []byte) (n int, err error) { return W.WWrite(p)
|
||||
|
||||
// _io_Writer is an interface wrapper for Writer type
|
||||
type _io_Writer struct {
|
||||
IValue interface{}
|
||||
WWrite func(p []byte) (n int, err error)
|
||||
}
|
||||
|
||||
@@ -267,6 +287,7 @@ func (W _io_Writer) Write(p []byte) (n int, err error) { return W.WWrite(p) }
|
||||
|
||||
// _io_WriterAt is an interface wrapper for WriterAt type
|
||||
type _io_WriterAt struct {
|
||||
IValue interface{}
|
||||
WWriteAt func(p []byte, off int64) (n int, err error)
|
||||
}
|
||||
|
||||
@@ -274,6 +295,7 @@ func (W _io_WriterAt) WriteAt(p []byte, off int64) (n int, err error) { return W
|
||||
|
||||
// _io_WriterTo is an interface wrapper for WriterTo type
|
||||
type _io_WriterTo struct {
|
||||
IValue interface{}
|
||||
WWriteTo func(w io.Writer) (n int64, err error)
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ func init() {
|
||||
|
||||
// _math_rand_Source is an interface wrapper for Source type
|
||||
type _math_rand_Source struct {
|
||||
IValue interface{}
|
||||
WInt63 func() int64
|
||||
WSeed func(seed int64)
|
||||
}
|
||||
@@ -55,6 +56,7 @@ func (W _math_rand_Source) Seed(seed int64) { W.WSeed(seed) }
|
||||
|
||||
// _math_rand_Source64 is an interface wrapper for Source64 type
|
||||
type _math_rand_Source64 struct {
|
||||
IValue interface{}
|
||||
WInt63 func() int64
|
||||
WSeed func(seed int64)
|
||||
WUint64 func() uint64
|
||||
|
||||
@@ -31,6 +31,7 @@ func init() {
|
||||
|
||||
// _mime_multipart_File is an interface wrapper for File type
|
||||
type _mime_multipart_File struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WReadAt func(p []byte, off int64) (n int, err error)
|
||||
|
||||
@@ -127,6 +127,7 @@ func init() {
|
||||
|
||||
// _net_Addr is an interface wrapper for Addr type
|
||||
type _net_Addr struct {
|
||||
IValue interface{}
|
||||
WNetwork func() string
|
||||
WString func() string
|
||||
}
|
||||
@@ -136,6 +137,7 @@ func (W _net_Addr) String() string { return W.WString() }
|
||||
|
||||
// _net_Conn is an interface wrapper for Conn type
|
||||
type _net_Conn struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WLocalAddr func() net.Addr
|
||||
WRead func(b []byte) (n int, err error)
|
||||
@@ -157,6 +159,7 @@ func (W _net_Conn) Write(b []byte) (n int, err error) { return W.WWrite(b) }
|
||||
|
||||
// _net_Error is an interface wrapper for Error type
|
||||
type _net_Error struct {
|
||||
IValue interface{}
|
||||
WError func() string
|
||||
WTemporary func() bool
|
||||
WTimeout func() bool
|
||||
@@ -168,6 +171,7 @@ func (W _net_Error) Timeout() bool { return W.WTimeout() }
|
||||
|
||||
// _net_Listener is an interface wrapper for Listener type
|
||||
type _net_Listener struct {
|
||||
IValue interface{}
|
||||
WAccept func() (net.Conn, error)
|
||||
WAddr func() net.Addr
|
||||
WClose func() error
|
||||
@@ -179,6 +183,7 @@ func (W _net_Listener) Close() error { return W.WClose() }
|
||||
|
||||
// _net_PacketConn is an interface wrapper for PacketConn type
|
||||
type _net_PacketConn struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WLocalAddr func() net.Addr
|
||||
WReadFrom func(p []byte) (n int, addr net.Addr, err error)
|
||||
|
||||
@@ -208,6 +208,7 @@ func init() {
|
||||
|
||||
// _net_http_CloseNotifier is an interface wrapper for CloseNotifier type
|
||||
type _net_http_CloseNotifier struct {
|
||||
IValue interface{}
|
||||
WCloseNotify func() <-chan bool
|
||||
}
|
||||
|
||||
@@ -215,6 +216,7 @@ func (W _net_http_CloseNotifier) CloseNotify() <-chan bool { return W.WCloseNoti
|
||||
|
||||
// _net_http_CookieJar is an interface wrapper for CookieJar type
|
||||
type _net_http_CookieJar struct {
|
||||
IValue interface{}
|
||||
WCookies func(u *url.URL) []*http.Cookie
|
||||
WSetCookies func(u *url.URL, cookies []*http.Cookie)
|
||||
}
|
||||
@@ -226,6 +228,7 @@ func (W _net_http_CookieJar) SetCookies(u *url.URL, cookies []*http.Cookie) {
|
||||
|
||||
// _net_http_File is an interface wrapper for File type
|
||||
type _net_http_File struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WRead func(p []byte) (n int, err error)
|
||||
WReaddir func(count int) ([]fs.FileInfo, error)
|
||||
@@ -241,13 +244,15 @@ func (W _net_http_File) Stat() (fs.FileInfo, error) { return W
|
||||
|
||||
// _net_http_FileSystem is an interface wrapper for FileSystem type
|
||||
type _net_http_FileSystem struct {
|
||||
WOpen func(name string) (http.File, error)
|
||||
IValue interface{}
|
||||
WOpen func(name string) (http.File, error)
|
||||
}
|
||||
|
||||
func (W _net_http_FileSystem) Open(name string) (http.File, error) { return W.WOpen(name) }
|
||||
|
||||
// _net_http_Flusher is an interface wrapper for Flusher type
|
||||
type _net_http_Flusher struct {
|
||||
IValue interface{}
|
||||
WFlush func()
|
||||
}
|
||||
|
||||
@@ -255,6 +260,7 @@ func (W _net_http_Flusher) Flush() { W.WFlush() }
|
||||
|
||||
// _net_http_Handler is an interface wrapper for Handler type
|
||||
type _net_http_Handler struct {
|
||||
IValue interface{}
|
||||
WServeHTTP func(a0 http.ResponseWriter, a1 *http.Request)
|
||||
}
|
||||
|
||||
@@ -262,6 +268,7 @@ func (W _net_http_Handler) ServeHTTP(a0 http.ResponseWriter, a1 *http.Request) {
|
||||
|
||||
// _net_http_Hijacker is an interface wrapper for Hijacker type
|
||||
type _net_http_Hijacker struct {
|
||||
IValue interface{}
|
||||
WHijack func() (net.Conn, *bufio.ReadWriter, error)
|
||||
}
|
||||
|
||||
@@ -269,7 +276,8 @@ func (W _net_http_Hijacker) Hijack() (net.Conn, *bufio.ReadWriter, error) { retu
|
||||
|
||||
// _net_http_Pusher is an interface wrapper for Pusher type
|
||||
type _net_http_Pusher struct {
|
||||
WPush func(target string, opts *http.PushOptions) error
|
||||
IValue interface{}
|
||||
WPush func(target string, opts *http.PushOptions) error
|
||||
}
|
||||
|
||||
func (W _net_http_Pusher) Push(target string, opts *http.PushOptions) error {
|
||||
@@ -278,6 +286,7 @@ func (W _net_http_Pusher) Push(target string, opts *http.PushOptions) error {
|
||||
|
||||
// _net_http_ResponseWriter is an interface wrapper for ResponseWriter type
|
||||
type _net_http_ResponseWriter struct {
|
||||
IValue interface{}
|
||||
WHeader func() http.Header
|
||||
WWrite func(a0 []byte) (int, error)
|
||||
WWriteHeader func(statusCode int)
|
||||
@@ -289,6 +298,7 @@ func (W _net_http_ResponseWriter) WriteHeader(statusCode int) { W.WWriteHeader
|
||||
|
||||
// _net_http_RoundTripper is an interface wrapper for RoundTripper type
|
||||
type _net_http_RoundTripper struct {
|
||||
IValue interface{}
|
||||
WRoundTrip func(a0 *http.Request) (*http.Response, error)
|
||||
}
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ func init() {
|
||||
|
||||
// _net_http_cookiejar_PublicSuffixList is an interface wrapper for PublicSuffixList type
|
||||
type _net_http_cookiejar_PublicSuffixList struct {
|
||||
IValue interface{}
|
||||
WPublicSuffix func(domain string) string
|
||||
WString func() string
|
||||
}
|
||||
|
||||
@@ -39,8 +39,9 @@ func init() {
|
||||
|
||||
// _net_http_httputil_BufferPool is an interface wrapper for BufferPool type
|
||||
type _net_http_httputil_BufferPool struct {
|
||||
WGet func() []byte
|
||||
WPut func(a0 []byte)
|
||||
IValue interface{}
|
||||
WGet func() []byte
|
||||
WPut func(a0 []byte)
|
||||
}
|
||||
|
||||
func (W _net_http_httputil_BufferPool) Get() []byte { return W.WGet() }
|
||||
|
||||
@@ -50,6 +50,7 @@ func init() {
|
||||
|
||||
// _net_rpc_ClientCodec is an interface wrapper for ClientCodec type
|
||||
type _net_rpc_ClientCodec struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WReadResponseBody func(a0 interface{}) error
|
||||
WReadResponseHeader func(a0 *rpc.Response) error
|
||||
@@ -67,6 +68,7 @@ func (W _net_rpc_ClientCodec) WriteRequest(a0 *rpc.Request, a1 interface{}) erro
|
||||
|
||||
// _net_rpc_ServerCodec is an interface wrapper for ServerCodec type
|
||||
type _net_rpc_ServerCodec struct {
|
||||
IValue interface{}
|
||||
WClose func() error
|
||||
WReadRequestBody func(a0 interface{}) error
|
||||
WReadRequestHeader func(a0 *rpc.Request) error
|
||||
|
||||
@@ -30,6 +30,7 @@ func init() {
|
||||
|
||||
// _net_smtp_Auth is an interface wrapper for Auth type
|
||||
type _net_smtp_Auth struct {
|
||||
IValue interface{}
|
||||
WNext func(fromServer []byte, more bool) (toServer []byte, err error)
|
||||
WStart func(server *smtp.ServerInfo) (proto string, toServer []byte, err error)
|
||||
}
|
||||
|
||||
@@ -142,6 +142,7 @@ func init() {
|
||||
|
||||
// _os_DirEntry is an interface wrapper for DirEntry type
|
||||
type _os_DirEntry struct {
|
||||
IValue interface{}
|
||||
WInfo func() (fs.FileInfo, error)
|
||||
WIsDir func() bool
|
||||
WName func() string
|
||||
@@ -155,6 +156,7 @@ func (W _os_DirEntry) Type() fs.FileMode { return W.WType() }
|
||||
|
||||
// _os_FileInfo is an interface wrapper for FileInfo type
|
||||
type _os_FileInfo struct {
|
||||
IValue interface{}
|
||||
WIsDir func() bool
|
||||
WModTime func() time.Time
|
||||
WMode func() fs.FileMode
|
||||
@@ -172,6 +174,7 @@ func (W _os_FileInfo) Sys() interface{} { return W.WSys() }
|
||||
|
||||
// _os_Signal is an interface wrapper for Signal type
|
||||
type _os_Signal struct {
|
||||
IValue interface{}
|
||||
WSignal func()
|
||||
WString func() string
|
||||
}
|
||||
|
||||
@@ -91,6 +91,7 @@ func init() {
|
||||
|
||||
// _reflect_Type is an interface wrapper for Type type
|
||||
type _reflect_Type struct {
|
||||
IValue interface{}
|
||||
WAlign func() int
|
||||
WAssignableTo func(u reflect.Type) bool
|
||||
WBits func() int
|
||||
|
||||
@@ -70,6 +70,7 @@ func init() {
|
||||
|
||||
// _runtime_Error is an interface wrapper for Error type
|
||||
type _runtime_Error struct {
|
||||
IValue interface{}
|
||||
WError func() string
|
||||
WRuntimeError func()
|
||||
}
|
||||
|
||||
@@ -43,9 +43,10 @@ func init() {
|
||||
|
||||
// _sort_Interface is an interface wrapper for Interface type
|
||||
type _sort_Interface struct {
|
||||
WLen func() int
|
||||
WLess func(i int, j int) bool
|
||||
WSwap func(i int, j int)
|
||||
IValue interface{}
|
||||
WLen func() int
|
||||
WLess func(i int, j int) bool
|
||||
WSwap func(i int, j int)
|
||||
}
|
||||
|
||||
func (W _sort_Interface) Len() int { return W.WLen() }
|
||||
|
||||
@@ -31,6 +31,7 @@ func init() {
|
||||
|
||||
// _sync_Locker is an interface wrapper for Locker type
|
||||
type _sync_Locker struct {
|
||||
IValue interface{}
|
||||
WLock func()
|
||||
WUnlock func()
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ func init() {
|
||||
|
||||
// _testing_TB is an interface wrapper for TB type
|
||||
type _testing_TB struct {
|
||||
IValue interface{}
|
||||
WCleanup func(a0 func())
|
||||
WError func(args ...interface{})
|
||||
WErrorf func(format string, args ...interface{})
|
||||
|
||||
@@ -31,6 +31,7 @@ func init() {
|
||||
|
||||
// _testing_quick_Generator is an interface wrapper for Generator type
|
||||
type _testing_quick_Generator struct {
|
||||
IValue interface{}
|
||||
WGenerate func(rand *rand.Rand, size int) reflect.Value
|
||||
}
|
||||
|
||||
|
||||
@@ -71,6 +71,7 @@ func init() {
|
||||
|
||||
// _text_template_parse_Node is an interface wrapper for Node type
|
||||
type _text_template_parse_Node struct {
|
||||
IValue interface{}
|
||||
WCopy func() parse.Node
|
||||
WPosition func() parse.Pos
|
||||
WString func() string
|
||||
|
||||
@@ -1351,6 +1351,7 @@ func init() {
|
||||
|
||||
// _syscall_Conn is an interface wrapper for Conn type
|
||||
type _syscall_Conn struct {
|
||||
IValue interface{}
|
||||
WSyscallConn func() (syscall.RawConn, error)
|
||||
}
|
||||
|
||||
@@ -1358,6 +1359,7 @@ func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { return W.WSyscal
|
||||
|
||||
// _syscall_RawConn is an interface wrapper for RawConn type
|
||||
type _syscall_RawConn struct {
|
||||
IValue interface{}
|
||||
WControl func(f func(fd uintptr)) error
|
||||
WRead func(f func(fd uintptr) (done bool)) error
|
||||
WWrite func(f func(fd uintptr) (done bool)) error
|
||||
@@ -1369,4 +1371,5 @@ func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { return W
|
||||
|
||||
// _syscall_Sockaddr is an interface wrapper for Sockaddr type
|
||||
type _syscall_Sockaddr struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
@@ -2212,6 +2212,7 @@ func init() {
|
||||
|
||||
// _syscall_Conn is an interface wrapper for Conn type
|
||||
type _syscall_Conn struct {
|
||||
IValue interface{}
|
||||
WSyscallConn func() (syscall.RawConn, error)
|
||||
}
|
||||
|
||||
@@ -2219,6 +2220,7 @@ func (W _syscall_Conn) SyscallConn() (syscall.RawConn, error) { return W.WSyscal
|
||||
|
||||
// _syscall_RawConn is an interface wrapper for RawConn type
|
||||
type _syscall_RawConn struct {
|
||||
IValue interface{}
|
||||
WControl func(f func(fd uintptr)) error
|
||||
WRead func(f func(fd uintptr) (done bool)) error
|
||||
WWrite func(f func(fd uintptr) (done bool)) error
|
||||
@@ -2230,4 +2232,5 @@ func (W _syscall_RawConn) Write(f func(fd uintptr) (done bool)) error { return W
|
||||
|
||||
// _syscall_Sockaddr is an interface wrapper for Sockaddr type
|
||||
type _syscall_Sockaddr struct {
|
||||
IValue interface{}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user