github.com/goplus/gossa@v0.3.25/pkg/crypto/hmac/go115_export.go (about)

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