Yes. In fact I wrote that alignment should be done by the editor, not gofmt.
Manlio Perillo On Thursday, January 30, 2020 at 1:46:37 AM UTC+1, kortschak wrote: > > I suspect Manlio was referring to something like this > http://nickgravgaard.com/elastic-tabstops/. > > Dan > > On Thu, 2020-01-30 at 01:10 +0100, Wojciech S. Czarnecki wrote: > > Dnia 2020-01-29, o godz. 09:56:35 > > Manlio Perillo <manlio...@gmail.com <javascript:>> napisaĆ(a): > > > > > What I propose is to use a tab between the field name and type. > > > It is responsibility of the editor or html formatter to align the > > > code. > > > > This ("between") assumes an agreed constant width of the tab > > representation. > > Ie. it will never work as intended in the field as people are using > > tabwidths from 2 to 8. > > > > > Manlio Perillo > > > > Hope this helps, > > > > -- > > Wojciech S. Czarnecki > > << ^oo^ >> OHIR-RIPE > > > > -- > > 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 golan...@googlegroups.com <javascript:>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/golang-nuts/20200130011051.2e18a964%40xmint > > . > > > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/0de6e74a-21a2-4c0f-8c04-6cf6ea00979b%40googlegroups.com.