github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/cmd/gofmt/testdata/tabs.golden (about) 1 // Copyright 2022 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //gofmt 6 7 package main 8 9 var _ = []struct { 10 S string 11 Integer int 12 }{ 13 { 14 S: "Hello World", 15 Integer: 42, 16 }, 17 { 18 S: "\t", 19 Integer: 42, 20 }, 21 { 22 S: " ", // an actual <tab> 23 Integer: 42, 24 }, 25 { 26 S: ` `, // an actual <tab> 27 Integer: 42, 28 }, 29 { 30 S: "\u0009", 31 Integer: 42, 32 }, 33 }