feat: update stdlib mapping for go1.15
- drop stdlib for go1.13 - generate stdlib for go1.15 - update CI configuration.
This commit is contained in:
committed by
GitHub
parent
cdc352cee2
commit
1fe75f149d
@@ -19,8 +19,8 @@ cache:
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- go: 1.13.x
|
||||
- go: 1.14.x
|
||||
- go: 1.15.x
|
||||
env: STABLE=true
|
||||
|
||||
env:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// The following comment line has the same effect as 'go run -tags=dummy'
|
||||
//yaegi:tags dummy
|
||||
// yaegi:tags dummy
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract debug/pe'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
|
||||
package stdlib
|
||||
|
||||
import (
|
||||
"debug/pe"
|
||||
"go/constant"
|
||||
"go/token"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
func init() {
|
||||
Symbols["debug/pe"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"COFFSymbolSize": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_ARCHITECTURE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_BASERELOC": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_DEBUG": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_EXCEPTION": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_EXPORT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_GLOBALPTR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_IAT": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_IMPORT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_RESOURCE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_SECURITY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_TLS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_AM33": reflect.ValueOf(constant.MakeFromLiteral("467", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_AMD64": reflect.ValueOf(constant.MakeFromLiteral("34404", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_ARM": reflect.ValueOf(constant.MakeFromLiteral("448", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_ARM64": reflect.ValueOf(constant.MakeFromLiteral("43620", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_ARMNT": reflect.ValueOf(constant.MakeFromLiteral("452", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_EBC": reflect.ValueOf(constant.MakeFromLiteral("3772", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_I386": reflect.ValueOf(constant.MakeFromLiteral("332", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_IA64": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_M32R": reflect.ValueOf(constant.MakeFromLiteral("36929", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_MIPS16": reflect.ValueOf(constant.MakeFromLiteral("614", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_MIPSFPU": reflect.ValueOf(constant.MakeFromLiteral("870", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_MIPSFPU16": reflect.ValueOf(constant.MakeFromLiteral("1126", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_POWERPC": reflect.ValueOf(constant.MakeFromLiteral("496", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_POWERPCFP": reflect.ValueOf(constant.MakeFromLiteral("497", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_R4000": reflect.ValueOf(constant.MakeFromLiteral("358", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_SH3": reflect.ValueOf(constant.MakeFromLiteral("418", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_SH3DSP": reflect.ValueOf(constant.MakeFromLiteral("419", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_SH4": reflect.ValueOf(constant.MakeFromLiteral("422", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_SH5": reflect.ValueOf(constant.MakeFromLiteral("424", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_THUMB": reflect.ValueOf(constant.MakeFromLiteral("450", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_WCEMIPSV2": reflect.ValueOf(constant.MakeFromLiteral("361", token.INT, 0)),
|
||||
"NewFile": reflect.ValueOf(pe.NewFile),
|
||||
"Open": reflect.ValueOf(pe.Open),
|
||||
|
||||
// type definitions
|
||||
"COFFSymbol": reflect.ValueOf((*pe.COFFSymbol)(nil)),
|
||||
"DataDirectory": reflect.ValueOf((*pe.DataDirectory)(nil)),
|
||||
"File": reflect.ValueOf((*pe.File)(nil)),
|
||||
"FileHeader": reflect.ValueOf((*pe.FileHeader)(nil)),
|
||||
"FormatError": reflect.ValueOf((*pe.FormatError)(nil)),
|
||||
"ImportDirectory": reflect.ValueOf((*pe.ImportDirectory)(nil)),
|
||||
"OptionalHeader32": reflect.ValueOf((*pe.OptionalHeader32)(nil)),
|
||||
"OptionalHeader64": reflect.ValueOf((*pe.OptionalHeader64)(nil)),
|
||||
"Reloc": reflect.ValueOf((*pe.Reloc)(nil)),
|
||||
"Section": reflect.ValueOf((*pe.Section)(nil)),
|
||||
"SectionHeader": reflect.ValueOf((*pe.SectionHeader)(nil)),
|
||||
"SectionHeader32": reflect.ValueOf((*pe.SectionHeader32)(nil)),
|
||||
"StringTable": reflect.ValueOf((*pe.StringTable)(nil)),
|
||||
"Symbol": reflect.ValueOf((*pe.Symbol)(nil)),
|
||||
}
|
||||
}
|
||||
@@ -1,156 +0,0 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract os'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
|
||||
package stdlib
|
||||
|
||||
import (
|
||||
"go/constant"
|
||||
"go/token"
|
||||
"os"
|
||||
"reflect"
|
||||
"time"
|
||||
)
|
||||
|
||||
func init() {
|
||||
Symbols["os"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"Args": reflect.ValueOf(&os.Args).Elem(),
|
||||
"Chdir": reflect.ValueOf(os.Chdir),
|
||||
"Chmod": reflect.ValueOf(os.Chmod),
|
||||
"Chown": reflect.ValueOf(os.Chown),
|
||||
"Chtimes": reflect.ValueOf(os.Chtimes),
|
||||
"Clearenv": reflect.ValueOf(os.Clearenv),
|
||||
"Create": reflect.ValueOf(os.Create),
|
||||
"DevNull": reflect.ValueOf(os.DevNull),
|
||||
"Environ": reflect.ValueOf(os.Environ),
|
||||
"ErrClosed": reflect.ValueOf(&os.ErrClosed).Elem(),
|
||||
"ErrExist": reflect.ValueOf(&os.ErrExist).Elem(),
|
||||
"ErrInvalid": reflect.ValueOf(&os.ErrInvalid).Elem(),
|
||||
"ErrNoDeadline": reflect.ValueOf(&os.ErrNoDeadline).Elem(),
|
||||
"ErrNotExist": reflect.ValueOf(&os.ErrNotExist).Elem(),
|
||||
"ErrPermission": reflect.ValueOf(&os.ErrPermission).Elem(),
|
||||
"Executable": reflect.ValueOf(os.Executable),
|
||||
"Exit": reflect.ValueOf(osExit),
|
||||
"Expand": reflect.ValueOf(os.Expand),
|
||||
"ExpandEnv": reflect.ValueOf(os.ExpandEnv),
|
||||
"FindProcess": reflect.ValueOf(osFindProcess),
|
||||
"Getegid": reflect.ValueOf(os.Getegid),
|
||||
"Getenv": reflect.ValueOf(os.Getenv),
|
||||
"Geteuid": reflect.ValueOf(os.Geteuid),
|
||||
"Getgid": reflect.ValueOf(os.Getgid),
|
||||
"Getgroups": reflect.ValueOf(os.Getgroups),
|
||||
"Getpagesize": reflect.ValueOf(os.Getpagesize),
|
||||
"Getpid": reflect.ValueOf(os.Getpid),
|
||||
"Getppid": reflect.ValueOf(os.Getppid),
|
||||
"Getuid": reflect.ValueOf(os.Getuid),
|
||||
"Getwd": reflect.ValueOf(os.Getwd),
|
||||
"Hostname": reflect.ValueOf(os.Hostname),
|
||||
"Interrupt": reflect.ValueOf(&os.Interrupt).Elem(),
|
||||
"IsExist": reflect.ValueOf(os.IsExist),
|
||||
"IsNotExist": reflect.ValueOf(os.IsNotExist),
|
||||
"IsPathSeparator": reflect.ValueOf(os.IsPathSeparator),
|
||||
"IsPermission": reflect.ValueOf(os.IsPermission),
|
||||
"IsTimeout": reflect.ValueOf(os.IsTimeout),
|
||||
"Kill": reflect.ValueOf(&os.Kill).Elem(),
|
||||
"Lchown": reflect.ValueOf(os.Lchown),
|
||||
"Link": reflect.ValueOf(os.Link),
|
||||
"LookupEnv": reflect.ValueOf(os.LookupEnv),
|
||||
"Lstat": reflect.ValueOf(os.Lstat),
|
||||
"Mkdir": reflect.ValueOf(os.Mkdir),
|
||||
"MkdirAll": reflect.ValueOf(os.MkdirAll),
|
||||
"ModeAppend": reflect.ValueOf(os.ModeAppend),
|
||||
"ModeCharDevice": reflect.ValueOf(os.ModeCharDevice),
|
||||
"ModeDevice": reflect.ValueOf(os.ModeDevice),
|
||||
"ModeDir": reflect.ValueOf(os.ModeDir),
|
||||
"ModeExclusive": reflect.ValueOf(os.ModeExclusive),
|
||||
"ModeIrregular": reflect.ValueOf(os.ModeIrregular),
|
||||
"ModeNamedPipe": reflect.ValueOf(os.ModeNamedPipe),
|
||||
"ModePerm": reflect.ValueOf(os.ModePerm),
|
||||
"ModeSetgid": reflect.ValueOf(os.ModeSetgid),
|
||||
"ModeSetuid": reflect.ValueOf(os.ModeSetuid),
|
||||
"ModeSocket": reflect.ValueOf(os.ModeSocket),
|
||||
"ModeSticky": reflect.ValueOf(os.ModeSticky),
|
||||
"ModeSymlink": reflect.ValueOf(os.ModeSymlink),
|
||||
"ModeTemporary": reflect.ValueOf(os.ModeTemporary),
|
||||
"ModeType": reflect.ValueOf(os.ModeType),
|
||||
"NewFile": reflect.ValueOf(os.NewFile),
|
||||
"NewSyscallError": reflect.ValueOf(os.NewSyscallError),
|
||||
"O_APPEND": reflect.ValueOf(os.O_APPEND),
|
||||
"O_CREATE": reflect.ValueOf(os.O_CREATE),
|
||||
"O_EXCL": reflect.ValueOf(os.O_EXCL),
|
||||
"O_RDONLY": reflect.ValueOf(os.O_RDONLY),
|
||||
"O_RDWR": reflect.ValueOf(os.O_RDWR),
|
||||
"O_SYNC": reflect.ValueOf(os.O_SYNC),
|
||||
"O_TRUNC": reflect.ValueOf(os.O_TRUNC),
|
||||
"O_WRONLY": reflect.ValueOf(os.O_WRONLY),
|
||||
"Open": reflect.ValueOf(os.Open),
|
||||
"OpenFile": reflect.ValueOf(os.OpenFile),
|
||||
"PathListSeparator": reflect.ValueOf(constant.MakeFromLiteral("58", token.INT, 0)),
|
||||
"PathSeparator": reflect.ValueOf(constant.MakeFromLiteral("47", token.INT, 0)),
|
||||
"Pipe": reflect.ValueOf(os.Pipe),
|
||||
"Readlink": reflect.ValueOf(os.Readlink),
|
||||
"Remove": reflect.ValueOf(os.Remove),
|
||||
"RemoveAll": reflect.ValueOf(os.RemoveAll),
|
||||
"Rename": reflect.ValueOf(os.Rename),
|
||||
"SEEK_CUR": reflect.ValueOf(os.SEEK_CUR),
|
||||
"SEEK_END": reflect.ValueOf(os.SEEK_END),
|
||||
"SEEK_SET": reflect.ValueOf(os.SEEK_SET),
|
||||
"SameFile": reflect.ValueOf(os.SameFile),
|
||||
"Setenv": reflect.ValueOf(os.Setenv),
|
||||
"StartProcess": reflect.ValueOf(os.StartProcess),
|
||||
"Stat": reflect.ValueOf(os.Stat),
|
||||
"Stderr": reflect.ValueOf(&os.Stderr).Elem(),
|
||||
"Stdin": reflect.ValueOf(&os.Stdin).Elem(),
|
||||
"Stdout": reflect.ValueOf(&os.Stdout).Elem(),
|
||||
"Symlink": reflect.ValueOf(os.Symlink),
|
||||
"TempDir": reflect.ValueOf(os.TempDir),
|
||||
"Truncate": reflect.ValueOf(os.Truncate),
|
||||
"Unsetenv": reflect.ValueOf(os.Unsetenv),
|
||||
"UserCacheDir": reflect.ValueOf(os.UserCacheDir),
|
||||
"UserConfigDir": reflect.ValueOf(os.UserConfigDir),
|
||||
"UserHomeDir": reflect.ValueOf(os.UserHomeDir),
|
||||
|
||||
// type definitions
|
||||
"File": reflect.ValueOf((*os.File)(nil)),
|
||||
"FileInfo": reflect.ValueOf((*os.FileInfo)(nil)),
|
||||
"FileMode": reflect.ValueOf((*os.FileMode)(nil)),
|
||||
"LinkError": reflect.ValueOf((*os.LinkError)(nil)),
|
||||
"PathError": reflect.ValueOf((*os.PathError)(nil)),
|
||||
"ProcAttr": reflect.ValueOf((*os.ProcAttr)(nil)),
|
||||
"Process": reflect.ValueOf((*os.Process)(nil)),
|
||||
"ProcessState": reflect.ValueOf((*os.ProcessState)(nil)),
|
||||
"Signal": reflect.ValueOf((*os.Signal)(nil)),
|
||||
"SyscallError": reflect.ValueOf((*os.SyscallError)(nil)),
|
||||
|
||||
// interface wrapper definitions
|
||||
"_FileInfo": reflect.ValueOf((*_os_FileInfo)(nil)),
|
||||
"_Signal": reflect.ValueOf((*_os_Signal)(nil)),
|
||||
}
|
||||
}
|
||||
|
||||
// _os_FileInfo is an interface wrapper for FileInfo type
|
||||
type _os_FileInfo struct {
|
||||
WIsDir func() bool
|
||||
WModTime func() time.Time
|
||||
WMode func() os.FileMode
|
||||
WName func() string
|
||||
WSize func() int64
|
||||
WSys func() interface{}
|
||||
}
|
||||
|
||||
func (W _os_FileInfo) IsDir() bool { return W.WIsDir() }
|
||||
func (W _os_FileInfo) ModTime() time.Time { return W.WModTime() }
|
||||
func (W _os_FileInfo) Mode() os.FileMode { return W.WMode() }
|
||||
func (W _os_FileInfo) Name() string { return W.WName() }
|
||||
func (W _os_FileInfo) Size() int64 { return W.WSize() }
|
||||
func (W _os_FileInfo) Sys() interface{} { return W.WSys() }
|
||||
|
||||
// _os_Signal is an interface wrapper for Signal type
|
||||
type _os_Signal struct {
|
||||
WSignal func()
|
||||
WString func() string
|
||||
}
|
||||
|
||||
func (W _os_Signal) Signal() { W.WSignal() }
|
||||
func (W _os_Signal) String() string { return W.WString() }
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract archive/tar'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract archive/zip'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract bufio'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -15,6 +15,7 @@ func init() {
|
||||
Symbols["bufio"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"ErrAdvanceTooFar": reflect.ValueOf(&bufio.ErrAdvanceTooFar).Elem(),
|
||||
"ErrBadReadCount": reflect.ValueOf(&bufio.ErrBadReadCount).Elem(),
|
||||
"ErrBufferFull": reflect.ValueOf(&bufio.ErrBufferFull).Elem(),
|
||||
"ErrFinalToken": reflect.ValueOf(&bufio.ErrFinalToken).Elem(),
|
||||
"ErrInvalidUnreadByte": reflect.ValueOf(&bufio.ErrInvalidUnreadByte).Elem(),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract bytes'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract compress/bzip2'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract compress/flate'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract compress/gzip'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract compress/lzw'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract compress/zlib'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract container/heap'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract container/list'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract container/ring'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract context'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/aes'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/cipher'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/des'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/dsa'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/ecdsa'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -14,7 +14,9 @@ func init() {
|
||||
// function, constant and variable definitions
|
||||
"GenerateKey": reflect.ValueOf(ecdsa.GenerateKey),
|
||||
"Sign": reflect.ValueOf(ecdsa.Sign),
|
||||
"SignASN1": reflect.ValueOf(ecdsa.SignASN1),
|
||||
"Verify": reflect.ValueOf(ecdsa.Verify),
|
||||
"VerifyASN1": reflect.ValueOf(ecdsa.VerifyASN1),
|
||||
|
||||
// type definitions
|
||||
"PrivateKey": reflect.ValueOf((*ecdsa.PrivateKey)(nil)),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/ed25519'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/elliptic'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -13,13 +13,15 @@ import (
|
||||
func init() {
|
||||
Symbols["crypto/elliptic"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"GenerateKey": reflect.ValueOf(elliptic.GenerateKey),
|
||||
"Marshal": reflect.ValueOf(elliptic.Marshal),
|
||||
"P224": reflect.ValueOf(elliptic.P224),
|
||||
"P256": reflect.ValueOf(elliptic.P256),
|
||||
"P384": reflect.ValueOf(elliptic.P384),
|
||||
"P521": reflect.ValueOf(elliptic.P521),
|
||||
"Unmarshal": reflect.ValueOf(elliptic.Unmarshal),
|
||||
"GenerateKey": reflect.ValueOf(elliptic.GenerateKey),
|
||||
"Marshal": reflect.ValueOf(elliptic.Marshal),
|
||||
"MarshalCompressed": reflect.ValueOf(elliptic.MarshalCompressed),
|
||||
"P224": reflect.ValueOf(elliptic.P224),
|
||||
"P256": reflect.ValueOf(elliptic.P256),
|
||||
"P384": reflect.ValueOf(elliptic.P384),
|
||||
"P521": reflect.ValueOf(elliptic.P521),
|
||||
"Unmarshal": reflect.ValueOf(elliptic.Unmarshal),
|
||||
"UnmarshalCompressed": reflect.ValueOf(elliptic.UnmarshalCompressed),
|
||||
|
||||
// type definitions
|
||||
"Curve": reflect.ValueOf((*elliptic.Curve)(nil)),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/hmac'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/md5'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/rand'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/rc4'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/rsa'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/sha1'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/sha256'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/sha512'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/subtle'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/tls'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -14,6 +14,8 @@ import (
|
||||
func init() {
|
||||
Symbols["crypto/tls"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"CipherSuiteName": reflect.ValueOf(tls.CipherSuiteName),
|
||||
"CipherSuites": reflect.ValueOf(tls.CipherSuites),
|
||||
"Client": reflect.ValueOf(tls.Client),
|
||||
"CurveP256": reflect.ValueOf(tls.CurveP256),
|
||||
"CurveP384": reflect.ValueOf(tls.CurveP384),
|
||||
@@ -25,6 +27,7 @@ func init() {
|
||||
"ECDSAWithP521AndSHA512": reflect.ValueOf(tls.ECDSAWithP521AndSHA512),
|
||||
"ECDSAWithSHA1": reflect.ValueOf(tls.ECDSAWithSHA1),
|
||||
"Ed25519": reflect.ValueOf(tls.Ed25519),
|
||||
"InsecureCipherSuites": reflect.ValueOf(tls.InsecureCipherSuites),
|
||||
"Listen": reflect.ValueOf(tls.Listen),
|
||||
"LoadX509KeyPair": reflect.ValueOf(tls.LoadX509KeyPair),
|
||||
"NewLRUClientSessionCache": reflect.ValueOf(tls.NewLRUClientSessionCache),
|
||||
@@ -53,35 +56,38 @@ func init() {
|
||||
"TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA": reflect.ValueOf(tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA),
|
||||
"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384": reflect.ValueOf(tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384),
|
||||
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305": reflect.ValueOf(tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305),
|
||||
"TLS_ECDHE_ECDSA_WITH_RC4_128_SHA": reflect.ValueOf(tls.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA),
|
||||
"TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA),
|
||||
"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA),
|
||||
"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256),
|
||||
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256),
|
||||
"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA),
|
||||
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384),
|
||||
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305),
|
||||
"TLS_ECDHE_RSA_WITH_RC4_128_SHA": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_RC4_128_SHA),
|
||||
"TLS_FALLBACK_SCSV": reflect.ValueOf(tls.TLS_FALLBACK_SCSV),
|
||||
"TLS_RSA_WITH_3DES_EDE_CBC_SHA": reflect.ValueOf(tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA),
|
||||
"TLS_RSA_WITH_AES_128_CBC_SHA": reflect.ValueOf(tls.TLS_RSA_WITH_AES_128_CBC_SHA),
|
||||
"TLS_RSA_WITH_AES_128_CBC_SHA256": reflect.ValueOf(tls.TLS_RSA_WITH_AES_128_CBC_SHA256),
|
||||
"TLS_RSA_WITH_AES_128_GCM_SHA256": reflect.ValueOf(tls.TLS_RSA_WITH_AES_128_GCM_SHA256),
|
||||
"TLS_RSA_WITH_AES_256_CBC_SHA": reflect.ValueOf(tls.TLS_RSA_WITH_AES_256_CBC_SHA),
|
||||
"TLS_RSA_WITH_AES_256_GCM_SHA384": reflect.ValueOf(tls.TLS_RSA_WITH_AES_256_GCM_SHA384),
|
||||
"TLS_RSA_WITH_RC4_128_SHA": reflect.ValueOf(tls.TLS_RSA_WITH_RC4_128_SHA),
|
||||
"VerifyClientCertIfGiven": reflect.ValueOf(tls.VerifyClientCertIfGiven),
|
||||
"VersionSSL30": reflect.ValueOf(constant.MakeFromLiteral("768", token.INT, 0)),
|
||||
"VersionTLS10": reflect.ValueOf(constant.MakeFromLiteral("769", token.INT, 0)),
|
||||
"VersionTLS11": reflect.ValueOf(constant.MakeFromLiteral("770", token.INT, 0)),
|
||||
"VersionTLS12": reflect.ValueOf(constant.MakeFromLiteral("771", token.INT, 0)),
|
||||
"VersionTLS13": reflect.ValueOf(constant.MakeFromLiteral("772", token.INT, 0)),
|
||||
"X25519": reflect.ValueOf(tls.X25519),
|
||||
"X509KeyPair": reflect.ValueOf(tls.X509KeyPair),
|
||||
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256": reflect.ValueOf(tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256),
|
||||
"TLS_ECDHE_ECDSA_WITH_RC4_128_SHA": reflect.ValueOf(tls.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA),
|
||||
"TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA),
|
||||
"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA),
|
||||
"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256),
|
||||
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256),
|
||||
"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA),
|
||||
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384),
|
||||
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305),
|
||||
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256),
|
||||
"TLS_ECDHE_RSA_WITH_RC4_128_SHA": reflect.ValueOf(tls.TLS_ECDHE_RSA_WITH_RC4_128_SHA),
|
||||
"TLS_FALLBACK_SCSV": reflect.ValueOf(tls.TLS_FALLBACK_SCSV),
|
||||
"TLS_RSA_WITH_3DES_EDE_CBC_SHA": reflect.ValueOf(tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA),
|
||||
"TLS_RSA_WITH_AES_128_CBC_SHA": reflect.ValueOf(tls.TLS_RSA_WITH_AES_128_CBC_SHA),
|
||||
"TLS_RSA_WITH_AES_128_CBC_SHA256": reflect.ValueOf(tls.TLS_RSA_WITH_AES_128_CBC_SHA256),
|
||||
"TLS_RSA_WITH_AES_128_GCM_SHA256": reflect.ValueOf(tls.TLS_RSA_WITH_AES_128_GCM_SHA256),
|
||||
"TLS_RSA_WITH_AES_256_CBC_SHA": reflect.ValueOf(tls.TLS_RSA_WITH_AES_256_CBC_SHA),
|
||||
"TLS_RSA_WITH_AES_256_GCM_SHA384": reflect.ValueOf(tls.TLS_RSA_WITH_AES_256_GCM_SHA384),
|
||||
"TLS_RSA_WITH_RC4_128_SHA": reflect.ValueOf(tls.TLS_RSA_WITH_RC4_128_SHA),
|
||||
"VerifyClientCertIfGiven": reflect.ValueOf(tls.VerifyClientCertIfGiven),
|
||||
"VersionSSL30": reflect.ValueOf(constant.MakeFromLiteral("768", token.INT, 0)),
|
||||
"VersionTLS10": reflect.ValueOf(constant.MakeFromLiteral("769", token.INT, 0)),
|
||||
"VersionTLS11": reflect.ValueOf(constant.MakeFromLiteral("770", token.INT, 0)),
|
||||
"VersionTLS12": reflect.ValueOf(constant.MakeFromLiteral("771", token.INT, 0)),
|
||||
"VersionTLS13": reflect.ValueOf(constant.MakeFromLiteral("772", token.INT, 0)),
|
||||
"X25519": reflect.ValueOf(tls.X25519),
|
||||
"X509KeyPair": reflect.ValueOf(tls.X509KeyPair),
|
||||
|
||||
// type definitions
|
||||
"Certificate": reflect.ValueOf((*tls.Certificate)(nil)),
|
||||
"CertificateRequestInfo": reflect.ValueOf((*tls.CertificateRequestInfo)(nil)),
|
||||
"CipherSuite": reflect.ValueOf((*tls.CipherSuite)(nil)),
|
||||
"ClientAuthType": reflect.ValueOf((*tls.ClientAuthType)(nil)),
|
||||
"ClientHelloInfo": reflect.ValueOf((*tls.ClientHelloInfo)(nil)),
|
||||
"ClientSessionCache": reflect.ValueOf((*tls.ClientSessionCache)(nil)),
|
||||
@@ -90,6 +96,7 @@ func init() {
|
||||
"Conn": reflect.ValueOf((*tls.Conn)(nil)),
|
||||
"ConnectionState": reflect.ValueOf((*tls.ConnectionState)(nil)),
|
||||
"CurveID": reflect.ValueOf((*tls.CurveID)(nil)),
|
||||
"Dialer": reflect.ValueOf((*tls.Dialer)(nil)),
|
||||
"RecordHeaderError": reflect.ValueOf((*tls.RecordHeaderError)(nil)),
|
||||
"RenegotiationSupport": reflect.ValueOf((*tls.RenegotiationSupport)(nil)),
|
||||
"SignatureScheme": reflect.ValueOf((*tls.SignatureScheme)(nil)),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/x509'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -12,30 +12,31 @@ import (
|
||||
func init() {
|
||||
Symbols["crypto/x509"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"CANotAuthorizedForExtKeyUsage": reflect.ValueOf(x509.CANotAuthorizedForExtKeyUsage),
|
||||
"CANotAuthorizedForThisName": reflect.ValueOf(x509.CANotAuthorizedForThisName),
|
||||
"CreateCertificate": reflect.ValueOf(x509.CreateCertificate),
|
||||
"CreateCertificateRequest": reflect.ValueOf(x509.CreateCertificateRequest),
|
||||
"DSA": reflect.ValueOf(x509.DSA),
|
||||
"DSAWithSHA1": reflect.ValueOf(x509.DSAWithSHA1),
|
||||
"DSAWithSHA256": reflect.ValueOf(x509.DSAWithSHA256),
|
||||
"DecryptPEMBlock": reflect.ValueOf(x509.DecryptPEMBlock),
|
||||
"ECDSA": reflect.ValueOf(x509.ECDSA),
|
||||
"ECDSAWithSHA1": reflect.ValueOf(x509.ECDSAWithSHA1),
|
||||
"ECDSAWithSHA256": reflect.ValueOf(x509.ECDSAWithSHA256),
|
||||
"ECDSAWithSHA384": reflect.ValueOf(x509.ECDSAWithSHA384),
|
||||
"ECDSAWithSHA512": reflect.ValueOf(x509.ECDSAWithSHA512),
|
||||
"Ed25519": reflect.ValueOf(x509.Ed25519),
|
||||
"EncryptPEMBlock": reflect.ValueOf(x509.EncryptPEMBlock),
|
||||
"ErrUnsupportedAlgorithm": reflect.ValueOf(&x509.ErrUnsupportedAlgorithm).Elem(),
|
||||
"Expired": reflect.ValueOf(x509.Expired),
|
||||
"ExtKeyUsageAny": reflect.ValueOf(x509.ExtKeyUsageAny),
|
||||
"ExtKeyUsageClientAuth": reflect.ValueOf(x509.ExtKeyUsageClientAuth),
|
||||
"ExtKeyUsageCodeSigning": reflect.ValueOf(x509.ExtKeyUsageCodeSigning),
|
||||
"ExtKeyUsageEmailProtection": reflect.ValueOf(x509.ExtKeyUsageEmailProtection),
|
||||
"ExtKeyUsageIPSECEndSystem": reflect.ValueOf(x509.ExtKeyUsageIPSECEndSystem),
|
||||
"ExtKeyUsageIPSECTunnel": reflect.ValueOf(x509.ExtKeyUsageIPSECTunnel),
|
||||
"ExtKeyUsageIPSECUser": reflect.ValueOf(x509.ExtKeyUsageIPSECUser),
|
||||
"CANotAuthorizedForExtKeyUsage": reflect.ValueOf(x509.CANotAuthorizedForExtKeyUsage),
|
||||
"CANotAuthorizedForThisName": reflect.ValueOf(x509.CANotAuthorizedForThisName),
|
||||
"CreateCertificate": reflect.ValueOf(x509.CreateCertificate),
|
||||
"CreateCertificateRequest": reflect.ValueOf(x509.CreateCertificateRequest),
|
||||
"CreateRevocationList": reflect.ValueOf(x509.CreateRevocationList),
|
||||
"DSA": reflect.ValueOf(x509.DSA),
|
||||
"DSAWithSHA1": reflect.ValueOf(x509.DSAWithSHA1),
|
||||
"DSAWithSHA256": reflect.ValueOf(x509.DSAWithSHA256),
|
||||
"DecryptPEMBlock": reflect.ValueOf(x509.DecryptPEMBlock),
|
||||
"ECDSA": reflect.ValueOf(x509.ECDSA),
|
||||
"ECDSAWithSHA1": reflect.ValueOf(x509.ECDSAWithSHA1),
|
||||
"ECDSAWithSHA256": reflect.ValueOf(x509.ECDSAWithSHA256),
|
||||
"ECDSAWithSHA384": reflect.ValueOf(x509.ECDSAWithSHA384),
|
||||
"ECDSAWithSHA512": reflect.ValueOf(x509.ECDSAWithSHA512),
|
||||
"Ed25519": reflect.ValueOf(x509.Ed25519),
|
||||
"EncryptPEMBlock": reflect.ValueOf(x509.EncryptPEMBlock),
|
||||
"ErrUnsupportedAlgorithm": reflect.ValueOf(&x509.ErrUnsupportedAlgorithm).Elem(),
|
||||
"Expired": reflect.ValueOf(x509.Expired),
|
||||
"ExtKeyUsageAny": reflect.ValueOf(x509.ExtKeyUsageAny),
|
||||
"ExtKeyUsageClientAuth": reflect.ValueOf(x509.ExtKeyUsageClientAuth),
|
||||
"ExtKeyUsageCodeSigning": reflect.ValueOf(x509.ExtKeyUsageCodeSigning),
|
||||
"ExtKeyUsageEmailProtection": reflect.ValueOf(x509.ExtKeyUsageEmailProtection),
|
||||
"ExtKeyUsageIPSECEndSystem": reflect.ValueOf(x509.ExtKeyUsageIPSECEndSystem),
|
||||
"ExtKeyUsageIPSECTunnel": reflect.ValueOf(x509.ExtKeyUsageIPSECTunnel),
|
||||
"ExtKeyUsageIPSECUser": reflect.ValueOf(x509.ExtKeyUsageIPSECUser),
|
||||
"ExtKeyUsageMicrosoftCommercialCodeSigning": reflect.ValueOf(x509.ExtKeyUsageMicrosoftCommercialCodeSigning),
|
||||
"ExtKeyUsageMicrosoftKernelCodeSigning": reflect.ValueOf(x509.ExtKeyUsageMicrosoftKernelCodeSigning),
|
||||
"ExtKeyUsageMicrosoftServerGatedCrypto": reflect.ValueOf(x509.ExtKeyUsageMicrosoftServerGatedCrypto),
|
||||
@@ -110,6 +111,7 @@ func init() {
|
||||
"KeyUsage": reflect.ValueOf((*x509.KeyUsage)(nil)),
|
||||
"PEMCipher": reflect.ValueOf((*x509.PEMCipher)(nil)),
|
||||
"PublicKeyAlgorithm": reflect.ValueOf((*x509.PublicKeyAlgorithm)(nil)),
|
||||
"RevocationList": reflect.ValueOf((*x509.RevocationList)(nil)),
|
||||
"SignatureAlgorithm": reflect.ValueOf((*x509.SignatureAlgorithm)(nil)),
|
||||
"SystemRootsError": reflect.ValueOf((*x509.SystemRootsError)(nil)),
|
||||
"UnhandledCriticalExtension": reflect.ValueOf((*x509.UnhandledCriticalExtension)(nil)),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract crypto/x509/pkix'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract database/sql'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract database/sql/driver'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -57,6 +57,7 @@ func init() {
|
||||
"StmtQueryContext": reflect.ValueOf((*driver.StmtQueryContext)(nil)),
|
||||
"Tx": reflect.ValueOf((*driver.Tx)(nil)),
|
||||
"TxOptions": reflect.ValueOf((*driver.TxOptions)(nil)),
|
||||
"Validator": reflect.ValueOf((*driver.Validator)(nil)),
|
||||
"Value": reflect.ValueOf((*driver.Value)(nil)),
|
||||
"ValueConverter": reflect.ValueOf((*driver.ValueConverter)(nil)),
|
||||
"Valuer": reflect.ValueOf((*driver.Valuer)(nil)),
|
||||
@@ -88,6 +89,7 @@ func init() {
|
||||
"_StmtExecContext": reflect.ValueOf((*_database_sql_driver_StmtExecContext)(nil)),
|
||||
"_StmtQueryContext": reflect.ValueOf((*_database_sql_driver_StmtQueryContext)(nil)),
|
||||
"_Tx": reflect.ValueOf((*_database_sql_driver_Tx)(nil)),
|
||||
"_Validator": reflect.ValueOf((*_database_sql_driver_Validator)(nil)),
|
||||
"_Value": reflect.ValueOf((*_database_sql_driver_Value)(nil)),
|
||||
"_ValueConverter": reflect.ValueOf((*_database_sql_driver_ValueConverter)(nil)),
|
||||
"_Valuer": reflect.ValueOf((*_database_sql_driver_Valuer)(nil)),
|
||||
@@ -327,15 +329,11 @@ type _database_sql_driver_RowsNextResultSet struct {
|
||||
WNextResultSet func() error
|
||||
}
|
||||
|
||||
func (W _database_sql_driver_RowsNextResultSet) Close() error { return W.WClose() }
|
||||
func (W _database_sql_driver_RowsNextResultSet) Columns() []string { return W.WColumns() }
|
||||
func (W _database_sql_driver_RowsNextResultSet) HasNextResultSet() bool {
|
||||
return W.WHasNextResultSet()
|
||||
}
|
||||
func (W _database_sql_driver_RowsNextResultSet) Next(dest []driver.Value) error {
|
||||
return W.WNext(dest)
|
||||
}
|
||||
func (W _database_sql_driver_RowsNextResultSet) NextResultSet() error { return W.WNextResultSet() }
|
||||
func (W _database_sql_driver_RowsNextResultSet) Close() error { return W.WClose() }
|
||||
func (W _database_sql_driver_RowsNextResultSet) Columns() []string { return W.WColumns() }
|
||||
func (W _database_sql_driver_RowsNextResultSet) HasNextResultSet() bool { return W.WHasNextResultSet() }
|
||||
func (W _database_sql_driver_RowsNextResultSet) Next(dest []driver.Value) error { return W.WNext(dest) }
|
||||
func (W _database_sql_driver_RowsNextResultSet) NextResultSet() error { return W.WNextResultSet() }
|
||||
|
||||
// _database_sql_driver_SessionResetter is an interface wrapper for SessionResetter type
|
||||
type _database_sql_driver_SessionResetter struct {
|
||||
@@ -390,6 +388,13 @@ type _database_sql_driver_Tx struct {
|
||||
func (W _database_sql_driver_Tx) Commit() error { return W.WCommit() }
|
||||
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 {
|
||||
WIsValid func() bool
|
||||
}
|
||||
|
||||
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 {
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract debug/dwarf'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -14,36 +14,65 @@ func init() {
|
||||
// function, constant and variable definitions
|
||||
"AttrAbstractOrigin": reflect.ValueOf(dwarf.AttrAbstractOrigin),
|
||||
"AttrAccessibility": reflect.ValueOf(dwarf.AttrAccessibility),
|
||||
"AttrAddrBase": reflect.ValueOf(dwarf.AttrAddrBase),
|
||||
"AttrAddrClass": reflect.ValueOf(dwarf.AttrAddrClass),
|
||||
"AttrAlignment": reflect.ValueOf(dwarf.AttrAlignment),
|
||||
"AttrAllocated": reflect.ValueOf(dwarf.AttrAllocated),
|
||||
"AttrArtificial": reflect.ValueOf(dwarf.AttrArtificial),
|
||||
"AttrAssociated": reflect.ValueOf(dwarf.AttrAssociated),
|
||||
"AttrBaseTypes": reflect.ValueOf(dwarf.AttrBaseTypes),
|
||||
"AttrBinaryScale": reflect.ValueOf(dwarf.AttrBinaryScale),
|
||||
"AttrBitOffset": reflect.ValueOf(dwarf.AttrBitOffset),
|
||||
"AttrBitSize": reflect.ValueOf(dwarf.AttrBitSize),
|
||||
"AttrByteSize": reflect.ValueOf(dwarf.AttrByteSize),
|
||||
"AttrCallAllCalls": reflect.ValueOf(dwarf.AttrCallAllCalls),
|
||||
"AttrCallAllSourceCalls": reflect.ValueOf(dwarf.AttrCallAllSourceCalls),
|
||||
"AttrCallAllTailCalls": reflect.ValueOf(dwarf.AttrCallAllTailCalls),
|
||||
"AttrCallColumn": reflect.ValueOf(dwarf.AttrCallColumn),
|
||||
"AttrCallDataLocation": reflect.ValueOf(dwarf.AttrCallDataLocation),
|
||||
"AttrCallDataValue": reflect.ValueOf(dwarf.AttrCallDataValue),
|
||||
"AttrCallFile": reflect.ValueOf(dwarf.AttrCallFile),
|
||||
"AttrCallLine": reflect.ValueOf(dwarf.AttrCallLine),
|
||||
"AttrCallOrigin": reflect.ValueOf(dwarf.AttrCallOrigin),
|
||||
"AttrCallPC": reflect.ValueOf(dwarf.AttrCallPC),
|
||||
"AttrCallParameter": reflect.ValueOf(dwarf.AttrCallParameter),
|
||||
"AttrCallReturnPC": reflect.ValueOf(dwarf.AttrCallReturnPC),
|
||||
"AttrCallTailCall": reflect.ValueOf(dwarf.AttrCallTailCall),
|
||||
"AttrCallTarget": reflect.ValueOf(dwarf.AttrCallTarget),
|
||||
"AttrCallTargetClobbered": reflect.ValueOf(dwarf.AttrCallTargetClobbered),
|
||||
"AttrCallValue": reflect.ValueOf(dwarf.AttrCallValue),
|
||||
"AttrCalling": reflect.ValueOf(dwarf.AttrCalling),
|
||||
"AttrCommonRef": reflect.ValueOf(dwarf.AttrCommonRef),
|
||||
"AttrCompDir": reflect.ValueOf(dwarf.AttrCompDir),
|
||||
"AttrConstExpr": reflect.ValueOf(dwarf.AttrConstExpr),
|
||||
"AttrConstValue": reflect.ValueOf(dwarf.AttrConstValue),
|
||||
"AttrContainingType": reflect.ValueOf(dwarf.AttrContainingType),
|
||||
"AttrCount": reflect.ValueOf(dwarf.AttrCount),
|
||||
"AttrDataBitOffset": reflect.ValueOf(dwarf.AttrDataBitOffset),
|
||||
"AttrDataLocation": reflect.ValueOf(dwarf.AttrDataLocation),
|
||||
"AttrDataMemberLoc": reflect.ValueOf(dwarf.AttrDataMemberLoc),
|
||||
"AttrDecimalScale": reflect.ValueOf(dwarf.AttrDecimalScale),
|
||||
"AttrDecimalSign": reflect.ValueOf(dwarf.AttrDecimalSign),
|
||||
"AttrDeclColumn": reflect.ValueOf(dwarf.AttrDeclColumn),
|
||||
"AttrDeclFile": reflect.ValueOf(dwarf.AttrDeclFile),
|
||||
"AttrDeclLine": reflect.ValueOf(dwarf.AttrDeclLine),
|
||||
"AttrDeclaration": reflect.ValueOf(dwarf.AttrDeclaration),
|
||||
"AttrDefaultValue": reflect.ValueOf(dwarf.AttrDefaultValue),
|
||||
"AttrDefaulted": reflect.ValueOf(dwarf.AttrDefaulted),
|
||||
"AttrDeleted": reflect.ValueOf(dwarf.AttrDeleted),
|
||||
"AttrDescription": reflect.ValueOf(dwarf.AttrDescription),
|
||||
"AttrDigitCount": reflect.ValueOf(dwarf.AttrDigitCount),
|
||||
"AttrDiscr": reflect.ValueOf(dwarf.AttrDiscr),
|
||||
"AttrDiscrList": reflect.ValueOf(dwarf.AttrDiscrList),
|
||||
"AttrDiscrValue": reflect.ValueOf(dwarf.AttrDiscrValue),
|
||||
"AttrDwoName": reflect.ValueOf(dwarf.AttrDwoName),
|
||||
"AttrElemental": reflect.ValueOf(dwarf.AttrElemental),
|
||||
"AttrEncoding": reflect.ValueOf(dwarf.AttrEncoding),
|
||||
"AttrEndianity": reflect.ValueOf(dwarf.AttrEndianity),
|
||||
"AttrEntrypc": reflect.ValueOf(dwarf.AttrEntrypc),
|
||||
"AttrEnumClass": reflect.ValueOf(dwarf.AttrEnumClass),
|
||||
"AttrExplicit": reflect.ValueOf(dwarf.AttrExplicit),
|
||||
"AttrExportSymbols": reflect.ValueOf(dwarf.AttrExportSymbols),
|
||||
"AttrExtension": reflect.ValueOf(dwarf.AttrExtension),
|
||||
"AttrExternal": reflect.ValueOf(dwarf.AttrExternal),
|
||||
"AttrFrameBase": reflect.ValueOf(dwarf.AttrFrameBase),
|
||||
@@ -54,27 +83,47 @@ func init() {
|
||||
"AttrInline": reflect.ValueOf(dwarf.AttrInline),
|
||||
"AttrIsOptional": reflect.ValueOf(dwarf.AttrIsOptional),
|
||||
"AttrLanguage": reflect.ValueOf(dwarf.AttrLanguage),
|
||||
"AttrLinkageName": reflect.ValueOf(dwarf.AttrLinkageName),
|
||||
"AttrLocation": reflect.ValueOf(dwarf.AttrLocation),
|
||||
"AttrLoclistsBase": reflect.ValueOf(dwarf.AttrLoclistsBase),
|
||||
"AttrLowerBound": reflect.ValueOf(dwarf.AttrLowerBound),
|
||||
"AttrLowpc": reflect.ValueOf(dwarf.AttrLowpc),
|
||||
"AttrMacroInfo": reflect.ValueOf(dwarf.AttrMacroInfo),
|
||||
"AttrMacros": reflect.ValueOf(dwarf.AttrMacros),
|
||||
"AttrMainSubprogram": reflect.ValueOf(dwarf.AttrMainSubprogram),
|
||||
"AttrMutable": reflect.ValueOf(dwarf.AttrMutable),
|
||||
"AttrName": reflect.ValueOf(dwarf.AttrName),
|
||||
"AttrNamelistItem": reflect.ValueOf(dwarf.AttrNamelistItem),
|
||||
"AttrNoreturn": reflect.ValueOf(dwarf.AttrNoreturn),
|
||||
"AttrObjectPointer": reflect.ValueOf(dwarf.AttrObjectPointer),
|
||||
"AttrOrdering": reflect.ValueOf(dwarf.AttrOrdering),
|
||||
"AttrPictureString": reflect.ValueOf(dwarf.AttrPictureString),
|
||||
"AttrPriority": reflect.ValueOf(dwarf.AttrPriority),
|
||||
"AttrProducer": reflect.ValueOf(dwarf.AttrProducer),
|
||||
"AttrPrototyped": reflect.ValueOf(dwarf.AttrPrototyped),
|
||||
"AttrPure": reflect.ValueOf(dwarf.AttrPure),
|
||||
"AttrRanges": reflect.ValueOf(dwarf.AttrRanges),
|
||||
"AttrRank": reflect.ValueOf(dwarf.AttrRank),
|
||||
"AttrRecursive": reflect.ValueOf(dwarf.AttrRecursive),
|
||||
"AttrReference": reflect.ValueOf(dwarf.AttrReference),
|
||||
"AttrReturnAddr": reflect.ValueOf(dwarf.AttrReturnAddr),
|
||||
"AttrRnglistsBase": reflect.ValueOf(dwarf.AttrRnglistsBase),
|
||||
"AttrRvalueReference": reflect.ValueOf(dwarf.AttrRvalueReference),
|
||||
"AttrSegment": reflect.ValueOf(dwarf.AttrSegment),
|
||||
"AttrSibling": reflect.ValueOf(dwarf.AttrSibling),
|
||||
"AttrSignature": reflect.ValueOf(dwarf.AttrSignature),
|
||||
"AttrSmall": reflect.ValueOf(dwarf.AttrSmall),
|
||||
"AttrSpecification": reflect.ValueOf(dwarf.AttrSpecification),
|
||||
"AttrStartScope": reflect.ValueOf(dwarf.AttrStartScope),
|
||||
"AttrStaticLink": reflect.ValueOf(dwarf.AttrStaticLink),
|
||||
"AttrStmtList": reflect.ValueOf(dwarf.AttrStmtList),
|
||||
"AttrStrOffsetsBase": reflect.ValueOf(dwarf.AttrStrOffsetsBase),
|
||||
"AttrStride": reflect.ValueOf(dwarf.AttrStride),
|
||||
"AttrStrideSize": reflect.ValueOf(dwarf.AttrStrideSize),
|
||||
"AttrStringLength": reflect.ValueOf(dwarf.AttrStringLength),
|
||||
"AttrStringLengthBitSize": reflect.ValueOf(dwarf.AttrStringLengthBitSize),
|
||||
"AttrStringLengthByteSize": reflect.ValueOf(dwarf.AttrStringLengthByteSize),
|
||||
"AttrThreadsScaled": reflect.ValueOf(dwarf.AttrThreadsScaled),
|
||||
"AttrTrampoline": reflect.ValueOf(dwarf.AttrTrampoline),
|
||||
"AttrType": reflect.ValueOf(dwarf.AttrType),
|
||||
"AttrUpperBound": reflect.ValueOf(dwarf.AttrUpperBound),
|
||||
@@ -84,18 +133,23 @@ func init() {
|
||||
"AttrVirtuality": reflect.ValueOf(dwarf.AttrVirtuality),
|
||||
"AttrVisibility": reflect.ValueOf(dwarf.AttrVisibility),
|
||||
"AttrVtableElemLoc": reflect.ValueOf(dwarf.AttrVtableElemLoc),
|
||||
"ClassAddrPtr": reflect.ValueOf(dwarf.ClassAddrPtr),
|
||||
"ClassAddress": reflect.ValueOf(dwarf.ClassAddress),
|
||||
"ClassBlock": reflect.ValueOf(dwarf.ClassBlock),
|
||||
"ClassConstant": reflect.ValueOf(dwarf.ClassConstant),
|
||||
"ClassExprLoc": reflect.ValueOf(dwarf.ClassExprLoc),
|
||||
"ClassFlag": reflect.ValueOf(dwarf.ClassFlag),
|
||||
"ClassLinePtr": reflect.ValueOf(dwarf.ClassLinePtr),
|
||||
"ClassLocList": reflect.ValueOf(dwarf.ClassLocList),
|
||||
"ClassLocListPtr": reflect.ValueOf(dwarf.ClassLocListPtr),
|
||||
"ClassMacPtr": reflect.ValueOf(dwarf.ClassMacPtr),
|
||||
"ClassRangeListPtr": reflect.ValueOf(dwarf.ClassRangeListPtr),
|
||||
"ClassReference": reflect.ValueOf(dwarf.ClassReference),
|
||||
"ClassReferenceAlt": reflect.ValueOf(dwarf.ClassReferenceAlt),
|
||||
"ClassReferenceSig": reflect.ValueOf(dwarf.ClassReferenceSig),
|
||||
"ClassRngList": reflect.ValueOf(dwarf.ClassRngList),
|
||||
"ClassRngListsPtr": reflect.ValueOf(dwarf.ClassRngListsPtr),
|
||||
"ClassStrOffsetsPtr": reflect.ValueOf(dwarf.ClassStrOffsetsPtr),
|
||||
"ClassString": reflect.ValueOf(dwarf.ClassString),
|
||||
"ClassStringAlt": reflect.ValueOf(dwarf.ClassStringAlt),
|
||||
"ClassUnknown": reflect.ValueOf(dwarf.ClassUnknown),
|
||||
@@ -103,9 +157,13 @@ func init() {
|
||||
"New": reflect.ValueOf(dwarf.New),
|
||||
"TagAccessDeclaration": reflect.ValueOf(dwarf.TagAccessDeclaration),
|
||||
"TagArrayType": reflect.ValueOf(dwarf.TagArrayType),
|
||||
"TagAtomicType": reflect.ValueOf(dwarf.TagAtomicType),
|
||||
"TagBaseType": reflect.ValueOf(dwarf.TagBaseType),
|
||||
"TagCallSite": reflect.ValueOf(dwarf.TagCallSite),
|
||||
"TagCallSiteParameter": reflect.ValueOf(dwarf.TagCallSiteParameter),
|
||||
"TagCatchDwarfBlock": reflect.ValueOf(dwarf.TagCatchDwarfBlock),
|
||||
"TagClassType": reflect.ValueOf(dwarf.TagClassType),
|
||||
"TagCoarrayType": reflect.ValueOf(dwarf.TagCoarrayType),
|
||||
"TagCommonDwarfBlock": reflect.ValueOf(dwarf.TagCommonDwarfBlock),
|
||||
"TagCommonInclusion": reflect.ValueOf(dwarf.TagCommonInclusion),
|
||||
"TagCompileUnit": reflect.ValueOf(dwarf.TagCompileUnit),
|
||||
@@ -113,12 +171,15 @@ func init() {
|
||||
"TagConstType": reflect.ValueOf(dwarf.TagConstType),
|
||||
"TagConstant": reflect.ValueOf(dwarf.TagConstant),
|
||||
"TagDwarfProcedure": reflect.ValueOf(dwarf.TagDwarfProcedure),
|
||||
"TagDynamicType": reflect.ValueOf(dwarf.TagDynamicType),
|
||||
"TagEntryPoint": reflect.ValueOf(dwarf.TagEntryPoint),
|
||||
"TagEnumerationType": reflect.ValueOf(dwarf.TagEnumerationType),
|
||||
"TagEnumerator": reflect.ValueOf(dwarf.TagEnumerator),
|
||||
"TagFileType": reflect.ValueOf(dwarf.TagFileType),
|
||||
"TagFormalParameter": reflect.ValueOf(dwarf.TagFormalParameter),
|
||||
"TagFriend": reflect.ValueOf(dwarf.TagFriend),
|
||||
"TagGenericSubrange": reflect.ValueOf(dwarf.TagGenericSubrange),
|
||||
"TagImmutableType": reflect.ValueOf(dwarf.TagImmutableType),
|
||||
"TagImportedDeclaration": reflect.ValueOf(dwarf.TagImportedDeclaration),
|
||||
"TagImportedModule": reflect.ValueOf(dwarf.TagImportedModule),
|
||||
"TagImportedUnit": reflect.ValueOf(dwarf.TagImportedUnit),
|
||||
@@ -142,6 +203,7 @@ func init() {
|
||||
"TagRvalueReferenceType": reflect.ValueOf(dwarf.TagRvalueReferenceType),
|
||||
"TagSetType": reflect.ValueOf(dwarf.TagSetType),
|
||||
"TagSharedType": reflect.ValueOf(dwarf.TagSharedType),
|
||||
"TagSkeletonUnit": reflect.ValueOf(dwarf.TagSkeletonUnit),
|
||||
"TagStringType": reflect.ValueOf(dwarf.TagStringType),
|
||||
"TagStructType": reflect.ValueOf(dwarf.TagStructType),
|
||||
"TagSubprogram": reflect.ValueOf(dwarf.TagSubprogram),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract debug/elf'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract debug/gosym'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract debug/macho'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
114
stdlib/go1_15_debug_pe.go
Normal file
114
stdlib/go1_15_debug_pe.go
Normal file
@@ -0,0 +1,114 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract debug/pe'. DO NOT EDIT.
|
||||
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
import (
|
||||
"debug/pe"
|
||||
"go/constant"
|
||||
"go/token"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
func init() {
|
||||
Symbols["debug/pe"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"COFFSymbolSize": reflect.ValueOf(constant.MakeFromLiteral("18", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_ARCHITECTURE": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_BASERELOC": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_DEBUG": reflect.ValueOf(constant.MakeFromLiteral("6", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_EXCEPTION": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_EXPORT": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_GLOBALPTR": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_IAT": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_IMPORT": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_RESOURCE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_SECURITY": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)),
|
||||
"IMAGE_DIRECTORY_ENTRY_TLS": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_APPCONTAINER": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_GUARD_CF": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_NO_BIND": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_NO_ISOLATION": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_NO_SEH": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_NX_COMPAT": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)),
|
||||
"IMAGE_DLLCHARACTERISTICS_WDM_DRIVER": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)),
|
||||
"IMAGE_FILE_32BIT_MACHINE": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)),
|
||||
"IMAGE_FILE_AGGRESIVE_WS_TRIM": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)),
|
||||
"IMAGE_FILE_BYTES_REVERSED_HI": reflect.ValueOf(constant.MakeFromLiteral("32768", token.INT, 0)),
|
||||
"IMAGE_FILE_BYTES_REVERSED_LO": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)),
|
||||
"IMAGE_FILE_DEBUG_STRIPPED": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)),
|
||||
"IMAGE_FILE_DLL": reflect.ValueOf(constant.MakeFromLiteral("8192", token.INT, 0)),
|
||||
"IMAGE_FILE_EXECUTABLE_IMAGE": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)),
|
||||
"IMAGE_FILE_LARGE_ADDRESS_AWARE": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)),
|
||||
"IMAGE_FILE_LINE_NUMS_STRIPPED": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)),
|
||||
"IMAGE_FILE_LOCAL_SYMS_STRIPPED": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_AM33": reflect.ValueOf(constant.MakeFromLiteral("467", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_AMD64": reflect.ValueOf(constant.MakeFromLiteral("34404", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_ARM": reflect.ValueOf(constant.MakeFromLiteral("448", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_ARM64": reflect.ValueOf(constant.MakeFromLiteral("43620", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_ARMNT": reflect.ValueOf(constant.MakeFromLiteral("452", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_EBC": reflect.ValueOf(constant.MakeFromLiteral("3772", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_I386": reflect.ValueOf(constant.MakeFromLiteral("332", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_IA64": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_M32R": reflect.ValueOf(constant.MakeFromLiteral("36929", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_MIPS16": reflect.ValueOf(constant.MakeFromLiteral("614", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_MIPSFPU": reflect.ValueOf(constant.MakeFromLiteral("870", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_MIPSFPU16": reflect.ValueOf(constant.MakeFromLiteral("1126", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_POWERPC": reflect.ValueOf(constant.MakeFromLiteral("496", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_POWERPCFP": reflect.ValueOf(constant.MakeFromLiteral("497", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_R4000": reflect.ValueOf(constant.MakeFromLiteral("358", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_SH3": reflect.ValueOf(constant.MakeFromLiteral("418", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_SH3DSP": reflect.ValueOf(constant.MakeFromLiteral("419", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_SH4": reflect.ValueOf(constant.MakeFromLiteral("422", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_SH5": reflect.ValueOf(constant.MakeFromLiteral("424", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_THUMB": reflect.ValueOf(constant.MakeFromLiteral("450", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)),
|
||||
"IMAGE_FILE_MACHINE_WCEMIPSV2": reflect.ValueOf(constant.MakeFromLiteral("361", token.INT, 0)),
|
||||
"IMAGE_FILE_NET_RUN_FROM_SWAP": reflect.ValueOf(constant.MakeFromLiteral("2048", token.INT, 0)),
|
||||
"IMAGE_FILE_RELOCS_STRIPPED": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)),
|
||||
"IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP": reflect.ValueOf(constant.MakeFromLiteral("1024", token.INT, 0)),
|
||||
"IMAGE_FILE_SYSTEM": reflect.ValueOf(constant.MakeFromLiteral("4096", token.INT, 0)),
|
||||
"IMAGE_FILE_UP_SYSTEM_ONLY": reflect.ValueOf(constant.MakeFromLiteral("16384", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_EFI_APPLICATION": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER": reflect.ValueOf(constant.MakeFromLiteral("11", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_EFI_ROM": reflect.ValueOf(constant.MakeFromLiteral("13", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER": reflect.ValueOf(constant.MakeFromLiteral("12", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_NATIVE": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_NATIVE_WINDOWS": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_OS2_CUI": reflect.ValueOf(constant.MakeFromLiteral("5", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_POSIX_CUI": reflect.ValueOf(constant.MakeFromLiteral("7", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_UNKNOWN": reflect.ValueOf(constant.MakeFromLiteral("0", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_WINDOWS_CE_GUI": reflect.ValueOf(constant.MakeFromLiteral("9", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_WINDOWS_CUI": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_WINDOWS_GUI": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)),
|
||||
"IMAGE_SUBSYSTEM_XBOX": reflect.ValueOf(constant.MakeFromLiteral("14", token.INT, 0)),
|
||||
"NewFile": reflect.ValueOf(pe.NewFile),
|
||||
"Open": reflect.ValueOf(pe.Open),
|
||||
|
||||
// type definitions
|
||||
"COFFSymbol": reflect.ValueOf((*pe.COFFSymbol)(nil)),
|
||||
"DataDirectory": reflect.ValueOf((*pe.DataDirectory)(nil)),
|
||||
"File": reflect.ValueOf((*pe.File)(nil)),
|
||||
"FileHeader": reflect.ValueOf((*pe.FileHeader)(nil)),
|
||||
"FormatError": reflect.ValueOf((*pe.FormatError)(nil)),
|
||||
"ImportDirectory": reflect.ValueOf((*pe.ImportDirectory)(nil)),
|
||||
"OptionalHeader32": reflect.ValueOf((*pe.OptionalHeader32)(nil)),
|
||||
"OptionalHeader64": reflect.ValueOf((*pe.OptionalHeader64)(nil)),
|
||||
"Reloc": reflect.ValueOf((*pe.Reloc)(nil)),
|
||||
"Section": reflect.ValueOf((*pe.Section)(nil)),
|
||||
"SectionHeader": reflect.ValueOf((*pe.SectionHeader)(nil)),
|
||||
"SectionHeader32": reflect.ValueOf((*pe.SectionHeader32)(nil)),
|
||||
"StringTable": reflect.ValueOf((*pe.StringTable)(nil)),
|
||||
"Symbol": reflect.ValueOf((*pe.Symbol)(nil)),
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract debug/plan9obj'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -30,7 +30,9 @@ type _encoding_BinaryMarshaler struct {
|
||||
WMarshalBinary func() (data []byte, err error)
|
||||
}
|
||||
|
||||
func (W _encoding_BinaryMarshaler) MarshalBinary() (data []byte, err error) { return W.WMarshalBinary() }
|
||||
func (W _encoding_BinaryMarshaler) MarshalBinary() (data []byte, err error) {
|
||||
return W.WMarshalBinary()
|
||||
}
|
||||
|
||||
// _encoding_BinaryUnmarshaler is an interface wrapper for BinaryUnmarshaler type
|
||||
type _encoding_BinaryUnmarshaler struct {
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/ascii85'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/asn1'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -22,6 +22,7 @@ func init() {
|
||||
"MarshalWithParams": reflect.ValueOf(asn1.MarshalWithParams),
|
||||
"NullBytes": reflect.ValueOf(&asn1.NullBytes).Elem(),
|
||||
"NullRawValue": reflect.ValueOf(&asn1.NullRawValue).Elem(),
|
||||
"TagBMPString": reflect.ValueOf(constant.MakeFromLiteral("30", token.INT, 0)),
|
||||
"TagBitString": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)),
|
||||
"TagBoolean": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)),
|
||||
"TagEnum": reflect.ValueOf(constant.MakeFromLiteral("10", token.INT, 0)),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/base32'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/base64'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/binary'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/csv'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/gob'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/hex'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/json'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/pem'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract encoding/xml'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract errors'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract expvar'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract flag'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract fmt'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/ast'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/build'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/constant'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/doc'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -18,6 +18,7 @@ func init() {
|
||||
"IllegalPrefixes": reflect.ValueOf(&doc.IllegalPrefixes).Elem(),
|
||||
"IsPredeclared": reflect.ValueOf(doc.IsPredeclared),
|
||||
"New": reflect.ValueOf(doc.New),
|
||||
"NewFromFiles": reflect.ValueOf(doc.NewFromFiles),
|
||||
"PreserveAST": reflect.ValueOf(doc.PreserveAST),
|
||||
"Synopsis": reflect.ValueOf(doc.Synopsis),
|
||||
"ToHTML": reflect.ValueOf(doc.ToHTML),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/format'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/importer'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/parser'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/printer'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/scanner'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/token'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract go/types'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract hash'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract hash/adler32'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract hash/crc32'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract hash/crc64'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract hash/fnv'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
21
stdlib/go1_15_hash_maphash.go
Normal file
21
stdlib/go1_15_hash_maphash.go
Normal file
@@ -0,0 +1,21 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract hash/maphash'. DO NOT EDIT.
|
||||
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
import (
|
||||
"hash/maphash"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
func init() {
|
||||
Symbols["hash/maphash"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"MakeSeed": reflect.ValueOf(maphash.MakeSeed),
|
||||
|
||||
// type definitions
|
||||
"Hash": reflect.ValueOf((*maphash.Hash)(nil)),
|
||||
"Seed": reflect.ValueOf((*maphash.Seed)(nil)),
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract html'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract html/template'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract image'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract image/color'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract image/color/palette'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract image/draw'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract image/gif'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract image/jpeg'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract image/png'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract index/suffixarray'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract io'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -133,10 +133,8 @@ type _io_ReadSeeker struct {
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
}
|
||||
|
||||
func (W _io_ReadSeeker) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
func (W _io_ReadSeeker) Seek(offset int64, whence int) (int64, error) {
|
||||
return W.WSeek(offset, whence)
|
||||
}
|
||||
func (W _io_ReadSeeker) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
func (W _io_ReadSeeker) Seek(offset int64, whence int) (int64, error) { return W.WSeek(offset, whence) }
|
||||
|
||||
// _io_ReadWriteCloser is an interface wrapper for ReadWriteCloser type
|
||||
type _io_ReadWriteCloser struct {
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract io/ioutil'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract log'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -22,6 +22,7 @@ func init() {
|
||||
"Ldate": reflect.ValueOf(constant.MakeFromLiteral("1", token.INT, 0)),
|
||||
"Llongfile": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)),
|
||||
"Lmicroseconds": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)),
|
||||
"Lmsgprefix": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)),
|
||||
"Lshortfile": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)),
|
||||
"LstdFlags": reflect.ValueOf(constant.MakeFromLiteral("3", token.INT, 0)),
|
||||
"Ltime": reflect.ValueOf(constant.MakeFromLiteral("2", token.INT, 0)),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract log/syslog'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14,!windows,!nacl,!plan9
|
||||
// +build go1.15,!go1.16,!windows,!nacl,!plan9
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract math'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -36,6 +36,7 @@ func init() {
|
||||
"Exp": reflect.ValueOf(math.Exp),
|
||||
"Exp2": reflect.ValueOf(math.Exp2),
|
||||
"Expm1": reflect.ValueOf(math.Expm1),
|
||||
"FMA": reflect.ValueOf(math.FMA),
|
||||
"Float32bits": reflect.ValueOf(math.Float32bits),
|
||||
"Float32frombits": reflect.ValueOf(math.Float32frombits),
|
||||
"Float64bits": reflect.ValueOf(math.Float64bits),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract math/big'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract math/bits'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -38,6 +38,9 @@ func init() {
|
||||
"OnesCount32": reflect.ValueOf(bits.OnesCount32),
|
||||
"OnesCount64": reflect.ValueOf(bits.OnesCount64),
|
||||
"OnesCount8": reflect.ValueOf(bits.OnesCount8),
|
||||
"Rem": reflect.ValueOf(bits.Rem),
|
||||
"Rem32": reflect.ValueOf(bits.Rem32),
|
||||
"Rem64": reflect.ValueOf(bits.Rem64),
|
||||
"Reverse": reflect.ValueOf(bits.Reverse),
|
||||
"Reverse16": reflect.ValueOf(bits.Reverse16),
|
||||
"Reverse32": reflect.ValueOf(bits.Reverse32),
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract math/cmplx'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract math/rand'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract mime'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract mime/multipart'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
@@ -37,9 +37,11 @@ type _mime_multipart_File struct {
|
||||
WSeek func(offset int64, whence int) (int64, error)
|
||||
}
|
||||
|
||||
func (W _mime_multipart_File) Close() error { return W.WClose() }
|
||||
func (W _mime_multipart_File) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
func (W _mime_multipart_File) ReadAt(p []byte, off int64) (n int, err error) { return W.WReadAt(p, off) }
|
||||
func (W _mime_multipart_File) Close() error { return W.WClose() }
|
||||
func (W _mime_multipart_File) Read(p []byte) (n int, err error) { return W.WRead(p) }
|
||||
func (W _mime_multipart_File) ReadAt(p []byte, off int64) (n int, err error) {
|
||||
return W.WReadAt(p, off)
|
||||
}
|
||||
func (W _mime_multipart_File) Seek(offset int64, whence int) (int64, error) {
|
||||
return W.WSeek(offset, whence)
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract mime/quotedprintable'. DO NOT EDIT.
|
||||
|
||||
// +build go1.13,!go1.14
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user