Sign in
go
/
tools
/
6ce74ceaddcc4ff081d22ae134f4264a667d394f
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
fillstruct
/
fill_struct_unsafe.go.golden
blob: 7e8e1952f8683dfa82ebf330820d019037e6c774 [
file
] [
log
] [
blame
]
--
suggestedfix_fill_struct_unsafe_11_20
--
package
fillstruct
import
"unsafe"
type unsafeStruct
struct
{
x
int
p
unsafe
.
Pointer
}
func fill
()
{
_
:=
unsafeStruct
{
x
:
0
,
p
:
nil
,
}
//@suggestedfix("}", "refactor.rewrite", "Fill")
}