github.com/goplus/igop@v0.25.0/pkg/log/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 log 7 8 import ( 9 q "log" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "log", 20 Path: "log", 21 Deps: map[string]string{ 22 "fmt": "fmt", 23 "io": "io", 24 "log/internal": "internal", 25 "os": "os", 26 "runtime": "runtime", 27 "sync": "sync", 28 "sync/atomic": "atomic", 29 "time": "time", 30 }, 31 Interfaces: map[string]reflect.Type{}, 32 NamedTypes: map[string]reflect.Type{ 33 "Logger": reflect.TypeOf((*q.Logger)(nil)).Elem(), 34 }, 35 AliasTypes: map[string]reflect.Type{}, 36 Vars: map[string]reflect.Value{}, 37 Funcs: map[string]reflect.Value{ 38 "Default": reflect.ValueOf(q.Default), 39 "Fatal": reflect.ValueOf(q.Fatal), 40 "Fatalf": reflect.ValueOf(q.Fatalf), 41 "Fatalln": reflect.ValueOf(q.Fatalln), 42 "Flags": reflect.ValueOf(q.Flags), 43 "New": reflect.ValueOf(q.New), 44 "Output": reflect.ValueOf(q.Output), 45 "Panic": reflect.ValueOf(q.Panic), 46 "Panicf": reflect.ValueOf(q.Panicf), 47 "Panicln": reflect.ValueOf(q.Panicln), 48 "Prefix": reflect.ValueOf(q.Prefix), 49 "Print": reflect.ValueOf(q.Print), 50 "Printf": reflect.ValueOf(q.Printf), 51 "Println": reflect.ValueOf(q.Println), 52 "SetFlags": reflect.ValueOf(q.SetFlags), 53 "SetOutput": reflect.ValueOf(q.SetOutput), 54 "SetPrefix": reflect.ValueOf(q.SetPrefix), 55 "Writer": reflect.ValueOf(q.Writer), 56 }, 57 TypedConsts: map[string]igop.TypedConst{}, 58 UntypedConsts: map[string]igop.UntypedConst{ 59 "LUTC": {"untyped int", constant.MakeInt64(int64(q.LUTC))}, 60 "Ldate": {"untyped int", constant.MakeInt64(int64(q.Ldate))}, 61 "Llongfile": {"untyped int", constant.MakeInt64(int64(q.Llongfile))}, 62 "Lmicroseconds": {"untyped int", constant.MakeInt64(int64(q.Lmicroseconds))}, 63 "Lmsgprefix": {"untyped int", constant.MakeInt64(int64(q.Lmsgprefix))}, 64 "Lshortfile": {"untyped int", constant.MakeInt64(int64(q.Lshortfile))}, 65 "LstdFlags": {"untyped int", constant.MakeInt64(int64(q.LstdFlags))}, 66 "Ltime": {"untyped int", constant.MakeInt64(int64(q.Ltime))}, 67 }, 68 }) 69 }