aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/missingfunction/operation.go.golden
blob: 5e35f3005340948d273d9b5d0f945e9efdf710bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
-- suggestedfix_operation_10_2 --
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package missingfunction

import "time"

func operation() {
	undefinedOperation(10 * time.Second) //@suggestedfix("undefinedOperation", "quickfix")
}

func undefinedOperation(duration time.Duration) {
	panic("implement me!")
}
-- suggestedfix_operation_6_2 --
package missingfunction

import "time"

func operation() {
	undefinedOperation(10 * time.Second) //@suggestedfix("undefinedOperation", "quickfix")
}

func undefinedOperation(duration time.Duration) {
	panic("unimplemented")
}