| -- 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") |
| } |
| |