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

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //+build go1.16,!go1.17
     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  			"context": "context",
    21  			"os":      "os",
    22  			"sync":    "sync",
    23  			"syscall": "syscall",
    24  		},
    25  		Interfaces: map[string]reflect.Type{},
    26  		NamedTypes: map[string]gossa.NamedType{},
    27  		AliasTypes: map[string]reflect.Type{},
    28  		Vars:       map[string]reflect.Value{},
    29  		Funcs: map[string]reflect.Value{
    30  			"Ignore":        reflect.ValueOf(q.Ignore),
    31  			"Ignored":       reflect.ValueOf(q.Ignored),
    32  			"Notify":        reflect.ValueOf(q.Notify),
    33  			"NotifyContext": reflect.ValueOf(q.NotifyContext),
    34  			"Reset":         reflect.ValueOf(q.Reset),
    35  			"Stop":          reflect.ValueOf(q.Stop),
    36  		},
    37  		TypedConsts:   map[string]gossa.TypedConst{},
    38  		UntypedConsts: map[string]gossa.UntypedConst{},
    39  	})
    40  }