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
21
stdlib/go1_15_os_signal.go
Normal file
21
stdlib/go1_15_os_signal.go
Normal file
@@ -0,0 +1,21 @@
|
||||
// Code generated by 'github.com/containous/yaegi/extract os/signal'. DO NOT EDIT.
|
||||
|
||||
// +build go1.15,!go1.16
|
||||
|
||||
package stdlib
|
||||
|
||||
import (
|
||||
"os/signal"
|
||||
"reflect"
|
||||
)
|
||||
|
||||
func init() {
|
||||
Symbols["os/signal"] = map[string]reflect.Value{
|
||||
// function, constant and variable definitions
|
||||
"Ignore": reflect.ValueOf(signal.Ignore),
|
||||
"Ignored": reflect.ValueOf(signal.Ignored),
|
||||
"Notify": reflect.ValueOf(signal.Notify),
|
||||
"Reset": reflect.ValueOf(signal.Reset),
|
||||
"Stop": reflect.ValueOf(signal.Stop),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user