mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-12-01 23:57:21 +00:00
30 lines
686 B
JSON
30 lines
686 B
JSON
{
|
|
"language": "go",
|
|
"description": "Unexport a function whose every use stays in its declaring package, even though another package imports that package for unrelated symbols.",
|
|
"categories": ["cross-file", "visibility", "same-package"],
|
|
"target": {
|
|
"name": "Target",
|
|
"kind": "Function",
|
|
"file": "api/api.go"
|
|
},
|
|
"newName": "target",
|
|
"expect": {
|
|
"status": "success",
|
|
"edits": 2
|
|
},
|
|
"edges": [
|
|
{
|
|
"type": "CALLS",
|
|
"from": {
|
|
"name": "helper",
|
|
"kind": "Function",
|
|
"file": "api/helper.go"
|
|
},
|
|
"to": {
|
|
"name": "Target",
|
|
"kind": "Function",
|
|
"file": "api/api.go"
|
|
}
|
|
}
|
|
]
|
|
}
|