I am writting something to tabwriter.Writer object,
w := tabwriter.NewWriter(os.Stdout, 5, 1, 3, ' ', 0)
fmt.Fprintf(w, "%v\t%v\t
", somevalue1, somevalue2)
I can print the data in w in console using w.Flush() Is there any way so get values in w as string in one place and compare it with some value?
I want to compare what I have in w with some data.