github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/internal/lsp/testdata/missingfunction/literals.go.golden (about) 1 -- suggestedfix_literals_10_2 -- 2 // Copyright 2021 The Go Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style 4 // license that can be found in the LICENSE file. 5 6 package missingfunction 7 8 type T struct{} 9 10 func literals() { 11 undefinedLiterals("hey compiler", T{}, &T{}) //@suggestedfix("undefinedLiterals", "quickfix") 12 } 13 14 func undefinedLiterals(s string, t1 T, t2 *T) { 15 panic("implement me!") 16 } 17 -- suggestedfix_literals_6_2 -- 18 package missingfunction 19 20 type T struct{} 21 22 func literals() { 23 undefinedLiterals("hey compiler", T{}, &T{}) //@suggestedfix("undefinedLiterals", "quickfix") 24 } 25 26 func undefinedLiterals(s string, t1 T, t2 *T) { 27 panic("unimplemented") 28 } 29