Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Example_elastic (0.1 sec)

  1. src/text/tabwriter/example_test.go

    	fmt.Fprintln(w)
    	w.Flush()
    
    	// output:
    	// a	b	c	d		.
    	// 123	12345	1234567	123456789	.
    	//
    	//     a     b       c         d.
    	//   123 12345 1234567 123456789.
    }
    
    func Example_elastic() {
    	// Observe how the b's and the d's, despite appearing in the
    	// second cell of each line, belong to different columns.
    	w := tabwriter.NewWriter(os.Stdout, 0, 0, 1, '.', tabwriter.AlignRight|tabwriter.Debug)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 23 22:09:32 UTC 2016
    - 2K bytes
    - Viewed (0)
Back to top