github.com/goplus/gossa@v0.3.25/pkg/text/tabwriter/go118_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //go:build go1.18 4 // +build go1.18 5 6 package tabwriter 7 8 import ( 9 q "text/tabwriter" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/gossa" 15 ) 16 17 func init() { 18 gossa.RegisterPackage(&gossa.Package{ 19 Name: "tabwriter", 20 Path: "text/tabwriter", 21 Deps: map[string]string{ 22 "io": "io", 23 "unicode/utf8": "utf8", 24 }, 25 Interfaces: map[string]reflect.Type{}, 26 NamedTypes: map[string]gossa.NamedType{ 27 "Writer": {reflect.TypeOf((*q.Writer)(nil)).Elem(), "", "Flush,Init,Write,addLine,append,dump,endEscape,flush,flushNoDefers,format,handlePanic,reset,startEscape,terminateCell,updateWidth,write0,writeLines,writeN,writePadding"}, 28 }, 29 AliasTypes: map[string]reflect.Type{}, 30 Vars: map[string]reflect.Value{}, 31 Funcs: map[string]reflect.Value{ 32 "NewWriter": reflect.ValueOf(q.NewWriter), 33 }, 34 TypedConsts: map[string]gossa.TypedConst{ 35 "AlignRight": {reflect.TypeOf(q.AlignRight), constant.MakeInt64(int64(q.AlignRight))}, 36 "Debug": {reflect.TypeOf(q.Debug), constant.MakeInt64(int64(q.Debug))}, 37 "DiscardEmptyColumns": {reflect.TypeOf(q.DiscardEmptyColumns), constant.MakeInt64(int64(q.DiscardEmptyColumns))}, 38 "FilterHTML": {reflect.TypeOf(q.FilterHTML), constant.MakeInt64(int64(q.FilterHTML))}, 39 "StripEscape": {reflect.TypeOf(q.StripEscape), constant.MakeInt64(int64(q.StripEscape))}, 40 "TabIndent": {reflect.TypeOf(q.TabIndent), constant.MakeInt64(int64(q.TabIndent))}, 41 }, 42 UntypedConsts: map[string]gossa.UntypedConst{ 43 "Escape": {"untyped rune", constant.MakeInt64(int64(q.Escape))}, 44 }, 45 }) 46 }