github.com/goplus/gossa@v0.3.25/pkg/log/go114_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.14,!go1.15 4 5 package log 6 7 import ( 8 q "log" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "log", 19 Path: "log", 20 Deps: map[string]string{ 21 "fmt": "fmt", 22 "io": "io", 23 "os": "os", 24 "runtime": "runtime", 25 "sync": "sync", 26 "time": "time", 27 }, 28 Interfaces: map[string]reflect.Type{}, 29 NamedTypes: map[string]gossa.NamedType{ 30 "Logger": {reflect.TypeOf((*q.Logger)(nil)).Elem(), "", "Fatal,Fatalf,Fatalln,Flags,Output,Panic,Panicf,Panicln,Prefix,Print,Printf,Println,SetFlags,SetOutput,SetPrefix,Writer,formatHeader"}, 31 }, 32 AliasTypes: map[string]reflect.Type{}, 33 Vars: map[string]reflect.Value{}, 34 Funcs: map[string]reflect.Value{ 35 "Fatal": reflect.ValueOf(q.Fatal), 36 "Fatalf": reflect.ValueOf(q.Fatalf), 37 "Fatalln": reflect.ValueOf(q.Fatalln), 38 "Flags": reflect.ValueOf(q.Flags), 39 "New": reflect.ValueOf(q.New), 40 "Output": reflect.ValueOf(q.Output), 41 "Panic": reflect.ValueOf(q.Panic), 42 "Panicf": reflect.ValueOf(q.Panicf), 43 "Panicln": reflect.ValueOf(q.Panicln), 44 "Prefix": reflect.ValueOf(q.Prefix), 45 "Print": reflect.ValueOf(q.Print), 46 "Printf": reflect.ValueOf(q.Printf), 47 "Println": reflect.ValueOf(q.Println), 48 "SetFlags": reflect.ValueOf(q.SetFlags), 49 "SetOutput": reflect.ValueOf(q.SetOutput), 50 "SetPrefix": reflect.ValueOf(q.SetPrefix), 51 "Writer": reflect.ValueOf(q.Writer), 52 }, 53 TypedConsts: map[string]gossa.TypedConst{}, 54 UntypedConsts: map[string]gossa.UntypedConst{ 55 "LUTC": {"untyped int", constant.MakeInt64(int64(q.LUTC))}, 56 "Ldate": {"untyped int", constant.MakeInt64(int64(q.Ldate))}, 57 "Llongfile": {"untyped int", constant.MakeInt64(int64(q.Llongfile))}, 58 "Lmicroseconds": {"untyped int", constant.MakeInt64(int64(q.Lmicroseconds))}, 59 "Lmsgprefix": {"untyped int", constant.MakeInt64(int64(q.Lmsgprefix))}, 60 "Lshortfile": {"untyped int", constant.MakeInt64(int64(q.Lshortfile))}, 61 "LstdFlags": {"untyped int", constant.MakeInt64(int64(q.LstdFlags))}, 62 "Ltime": {"untyped int", constant.MakeInt64(int64(q.Ltime))}, 63 }, 64 }) 65 }