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

     1  // export by github.com/goplus/gossa/cmd/qexp
     2  
     3  //go:build go1.17 && !go1.18
     4  // +build go1.17,!go1.18
     5  
     6  package hmac
     7  
     8  import (
     9  	q "crypto/hmac"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/gossa"
    14  )
    15  
    16  func init() {
    17  	gossa.RegisterPackage(&gossa.Package{
    18  		Name: "hmac",
    19  		Path: "crypto/hmac",
    20  		Deps: map[string]string{
    21  			"crypto/subtle": "subtle",
    22  			"hash":          "hash",
    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  			"Equal": reflect.ValueOf(q.Equal),
    30  			"New":   reflect.ValueOf(q.New),
    31  		},
    32  		TypedConsts:   map[string]gossa.TypedConst{},
    33  		UntypedConsts: map[string]gossa.UntypedConst{},
    34  	})
    35  }