Sign in
go
/
tools
/
2dc7ebab284bdfe6bb7ae8b77c3cccb0049e13ce
/
.
/
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")
}