github.com/razvanm/vanadium-go-1.3@v0.0.0-20160721203343-4a65068e5915/src/cmd/gofmt/testdata/rewrite3.input (about) 1 //gofmt -r=x->x 2 3 // Copyright 2011 The Go Authors. All rights reserved. 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file. 6 7 package main 8 9 // Field tags are *ast.BasicLit nodes that are nil when the tag is 10 // absent. These nil nodes must not be mistaken for expressions, 11 // the rewriter should not try to dereference them. Was issue 2410. 12 type Foo struct { 13 Field int 14 }