github.com/goplus/gossa@v0.3.25/pkg/text/tabwriter/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package tabwriter 6 7 import ( 8 q "text/tabwriter" 9 10 "go/constant" 11 "reflect" 12 13 "github.com/goplus/gossa" 14 ) 15 16 func init() { 17 gossa.RegisterPackage(&gossa.Package{ 18 Name: "tabwriter", 19 Path: "text/tabwriter", 20 Deps: map[string]string{ 21 "io": "io", 22 "unicode/utf8": "utf8", 23 }, 24 Interfaces: map[string]reflect.Type{}, 25 NamedTypes: map[string]gossa.NamedType{ 26 "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"}, 27 }, 28 AliasTypes: map[string]reflect.Type{}, 29 Vars: map[string]reflect.Value{}, 30 Funcs: map[string]reflect.Value{ 31 "NewWriter": reflect.ValueOf(q.NewWriter), 32 }, 33 TypedConsts: map[string]gossa.TypedConst{ 34 "AlignRight": {reflect.TypeOf(q.AlignRight), constant.MakeInt64(int64(q.AlignRight))}, 35 "Debug": {reflect.TypeOf(q.Debug), constant.MakeInt64(int64(q.Debug))}, 36 "DiscardEmptyColumns": {reflect.TypeOf(q.DiscardEmptyColumns), constant.MakeInt64(int64(q.DiscardEmptyColumns))}, 37 "FilterHTML": {reflect.TypeOf(q.FilterHTML), constant.MakeInt64(int64(q.FilterHTML))}, 38 "StripEscape": {reflect.TypeOf(q.StripEscape), constant.MakeInt64(int64(q.StripEscape))}, 39 "TabIndent": {reflect.TypeOf(q.TabIndent), constant.MakeInt64(int64(q.TabIndent))}, 40 }, 41 UntypedConsts: map[string]gossa.UntypedConst{ 42 "Escape": {"untyped rune", constant.MakeInt64(int64(q.Escape))}, 43 }, 44 }) 45 }