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