github.com/goplus/igop@v0.25.0/pkg/testing/slogtest/go121_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //go:build go1.21
     4  // +build go1.21
     5  
     6  package slogtest
     7  
     8  import (
     9  	q "testing/slogtest"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "slogtest",
    19  		Path: "testing/slogtest",
    20  		Deps: map[string]string{
    21  			"context":  "context",
    22  			"errors":   "errors",
    23  			"fmt":      "fmt",
    24  			"log/slog": "slog",
    25  			"reflect":  "reflect",
    26  			"runtime":  "runtime",
    27  			"time":     "time",
    28  		},
    29  		Interfaces: map[string]reflect.Type{},
    30  		NamedTypes: map[string]reflect.Type{},
    31  		AliasTypes: map[string]reflect.Type{},
    32  		Vars:       map[string]reflect.Value{},
    33  		Funcs: map[string]reflect.Value{
    34  			"TestHandler": reflect.ValueOf(q.TestHandler),
    35  		},
    36  		TypedConsts:   map[string]igop.TypedConst{},
    37  		UntypedConsts: map[string]igop.UntypedConst{},
    38  	})
    39  }