github.com/HaHadaxigua/yaegi@v1.0.1/stdlib/go1_16_os_signal.go (about)

     1  // Code generated by 'yaegi extract os/signal'. DO NOT EDIT.
     2  
     3  // +build go1.16,!go1.17
     4  
     5  package stdlib
     6  
     7  import (
     8  	"os/signal"
     9  	"reflect"
    10  )
    11  
    12  func init() {
    13  	Symbols["os/signal/signal"] = map[string]reflect.Value{
    14  		// function, constant and variable definitions
    15  		"Ignore":        reflect.ValueOf(signal.Ignore),
    16  		"Ignored":       reflect.ValueOf(signal.Ignored),
    17  		"Notify":        reflect.ValueOf(signal.Notify),
    18  		"NotifyContext": reflect.ValueOf(signal.NotifyContext),
    19  		"Reset":         reflect.ValueOf(signal.Reset),
    20  		"Stop":          reflect.ValueOf(signal.Stop),
    21  	}
    22  }