github.com/goplus/igop@v0.25.0/pkg/runtime/coverage/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 coverage
     7  
     8  import (
     9  	q "runtime/coverage"
    10  
    11  	"reflect"
    12  
    13  	"github.com/goplus/igop"
    14  )
    15  
    16  func init() {
    17  	igop.RegisterPackage(&igop.Package{
    18  		Name: "coverage",
    19  		Path: "runtime/coverage",
    20  		Deps: map[string]string{
    21  			"crypto/md5":                      "md5",
    22  			"encoding/json":                   "json",
    23  			"fmt":                             "fmt",
    24  			"internal/coverage":               "coverage",
    25  			"internal/coverage/calloc":        "calloc",
    26  			"internal/coverage/cformat":       "cformat",
    27  			"internal/coverage/cmerge":        "cmerge",
    28  			"internal/coverage/decodecounter": "decodecounter",
    29  			"internal/coverage/decodemeta":    "decodemeta",
    30  			"internal/coverage/encodecounter": "encodecounter",
    31  			"internal/coverage/encodemeta":    "encodemeta",
    32  			"internal/coverage/pods":          "pods",
    33  			"internal/coverage/rtcov":         "rtcov",
    34  			"io":                              "io",
    35  			"os":                              "os",
    36  			"path/filepath":                   "filepath",
    37  			"reflect":                         "reflect",
    38  			"runtime":                         "runtime",
    39  			"runtime/internal/atomic":         "atomic",
    40  			"strconv":                         "strconv",
    41  			"strings":                         "strings",
    42  			"sync/atomic":                     "atomic",
    43  			"time":                            "time",
    44  			"unsafe":                          "unsafe",
    45  		},
    46  		Interfaces: map[string]reflect.Type{},
    47  		NamedTypes: map[string]reflect.Type{},
    48  		AliasTypes: map[string]reflect.Type{},
    49  		Vars:       map[string]reflect.Value{},
    50  		Funcs: map[string]reflect.Value{
    51  			"ClearCounters":    reflect.ValueOf(q.ClearCounters),
    52  			"WriteCounters":    reflect.ValueOf(q.WriteCounters),
    53  			"WriteCountersDir": reflect.ValueOf(q.WriteCountersDir),
    54  			"WriteMeta":        reflect.ValueOf(q.WriteMeta),
    55  			"WriteMetaDir":     reflect.ValueOf(q.WriteMetaDir),
    56  		},
    57  		TypedConsts:   map[string]igop.TypedConst{},
    58  		UntypedConsts: map[string]igop.UntypedConst{},
    59  	})
    60  }