github.com/goplus/gossa@v0.3.25/pkg/os/signal/go115_export.go (about)

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     4  
     5  package signal
     6  
     7  import (
     8  	q "os/signal"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/gossa"
    13  )
    14  
    15  func init() {
    16  	gossa.RegisterPackage(&gossa.Package{
    17  		Name: "signal",
    18  		Path: "os/signal",
    19  		Deps: map[string]string{
    20  			"os":      "os",
    21  			"sync":    "sync",
    22  			"syscall": "syscall",
    23  		},
    24  		Interfaces: map[string]reflect.Type{},
    25  		NamedTypes: map[string]gossa.NamedType{},
    26  		AliasTypes: map[string]reflect.Type{},
    27  		Vars:       map[string]reflect.Value{},
    28  		Funcs: map[string]reflect.Value{
    29  			"Ignore":  reflect.ValueOf(q.Ignore),
    30  			"Ignored": reflect.ValueOf(q.Ignored),
    31  			"Notify":  reflect.ValueOf(q.Notify),
    32  			"Reset":   reflect.ValueOf(q.Reset),
    33  			"Stop":    reflect.ValueOf(q.Stop),
    34  		},
    35  		TypedConsts:   map[string]gossa.TypedConst{},
    36  		UntypedConsts: map[string]gossa.UntypedConst{},
    37  	})
    38  }