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