Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anyone really was using 'keyify' ? #834

Closed
Shane-XB-Qian opened this issue Sep 26, 2020 · 2 comments
Closed

anyone really was using 'keyify' ? #834

Shane-XB-Qian opened this issue Sep 26, 2020 · 2 comments

Comments

@Shane-XB-Qian
Copy link

Shane-XB-Qian commented Sep 26, 2020

bash-4.4$ keyify src/shape/x.go:#8
can't find package containing /home/shane/tmp_test_dir/tmp_go_proj/shape/src/shape/x.go
bash-4.4$ 

or:

bash-4.4$ keyify abc/x.go:#59
can't find package containing /home/shane/tmp_test_dir/tmp_go_proj/shape/src/shape/abc/x.go
bash-4.4$ tree
.
├── abc
│   └── x.go
├── go.mod
└── main.go

1 directory, 3 files
bash-4.4$ 
bash-4.4$ keyify -version
keyify (devel, v0.0.1-2020.1.0.20200917201753-2b63335d5ff1)
bash-4.4$ 
@Shane-XB-Qian Shane-XB-Qian added the needs-triage Newly filed issue that needs triage label Sep 26, 2020
@Shane-XB-Qian Shane-XB-Qian changed the title anyone really is using 'keyify' ? anyone really was using 'keyify' ? Sep 26, 2020
@dominikh
Copy link
Owner

anyone really was using 'keyify'

probably not many at this point.

As for your specific problem: keyify has never been updated to work with Go modules; it only works in GOPATH mode. It's unlikely that this will be fixed, either. At this point, the likely way forward is that keyify will be integrated with gopls at some point, and the standalone tool will go away.

@dominikh dominikh removed the needs-triage Newly filed issue that needs triage label Sep 28, 2020
@Shane-XB-Qian
Copy link
Author

Shane-XB-Qian commented Sep 28, 2020

it only works in GOPATH mode

i tried export GOPATH=pwd"/..":$GOPATH, looks not working still, or i was using a wrong case ?
but even it worked, looks it's not a convenience way ..

keyify will be integrated with gopls at some point, and the standalone tool will go away.

better be, thanks your info and reply. looking forward this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants