Thanks very much ,I have solved it 在 2017年8月24日星期四 UTC+8上午1:23:08,王晚成写道: > > func (b *Writer <https://golang.org/pkg/text/tabwriter/#Writer>) Init(output > io <https://golang.org/pkg/io/>.Writer <https://golang.org/pkg/io/#Writer>, > minwidth, tabwidth, padding int <https://golang.org/pkg/builtin/#int>, > padchar byte <https://golang.org/pkg/builtin/#byte>, flags uint > <https://golang.org/pkg/builtin/#uint>) *Writer > <https://golang.org/pkg/text/tabwriter/#Writer> > > tabwidth width of tab characters (equivalent number of spaces) > padchar ASCII char used for padding > if padchar == '\t', the Writer will assume that the > width of a '\t' in the formatted output is tabwidth, > and cells are left-aligned independent of align_left > (for correct-looking results, tabwidth must correspond > to the tab width in the viewer displaying the result) > > padchar (what is the mean of padchar) > > I don't know the mean of that (for correct-looking results, tabwidth must > correspond to the tab width in the viewer displaying the result) > > The relationship between padchar and tabwidth > > >
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.