Hacker Newsnew | past | comments | ask | show | jobs | submit | looshch's commentslogin

hey folks, a while ago i made gouse to toggle ‘declared and not used’ errors in Go

the goal of gouse is to make debugging and exploratory phase easier

recently i improved the tool and published integration plugins for all the major IDEs like VS Code [1], Cursor, Windsurf, Google Antigravity [2], IntelliJ IDEA Ultimate and GoLand. And since the back end of the tool is a cli, (Neo)vim integration [4] is super simple

your feedback is more than welcome!

have a good one

[1] https://marketplace.visualstudio.com/items?itemName=looshch.... [2] https://open-vsx.org/extension/looshch/gouse [3] https://plugins.jetbrains.com/plugin/30501-gouse [4] https://github.com/vipkek/gouse#integrations


so much reasonable scepticism here is being downvoted, i don’t get why

to add my 2 cents: why does anyone think the EU countries don’t or won’t pose the same risks as the US? They might just be doing it silently and illegally. Where is the guarantee that the mere fact a service is EU-based provides benefits over using US-based ones?


Most of it is entirely unreasonable and being posted by Americans with vested interests who would never dream of posting the same comment if it was about the US reducing their dependency on Chinese tech - think Huawei, Tencent, Alibaba, Bytedance. Imagine a post on that topic - there have been many when it was higher on the agenda - and droves of Europeans commenting "Gee, how strange that the US wants to do this".

It's the exact same, and it doesn't take much wisdom to understand.


> being posted by Americans > Americans with vested interests

proofs, please?

> who would never dream of posting the same comment if it was about the US reducing their dependency on Chinese tech

it’s just your assumption. I personally don’t know anyone from the states who would want this except their government

> Imagine a post on that topic - there have been many when it was higher on the agenda - and droves of Europeans commenting "Gee, how strange that the US wants to do this"

again, it’s the government who fights the dependency on China, not the regular people. You are confusing politics and normal people’s concerns


why is it important to mention where he is from?


hey there, i was trying to get my Neovim key bindings and plugins in my terminal and have spent quite a bit of time trying to solve this task. Sharing it in case you ever wanted to achieve something similar. It’s a repost, i made some updates to the original version, e.g. added a few demo gifs and clarified a couple of code snippets


hey everyone!

i was trying to achieve what the title says for quite some time, so thought this guide would be useful for someone


> my main annoyance is deciding when to use a pointer or not use a pointer as variable/receiver/argument

i think you can take these[1][2][3][4] official advices and extrapolate to other cases

[1] https://go.dev/wiki/CodeReviewComments#receiver-type

[2] https://google.github.io/styleguide/go/decisions#receiver-ty...

[3] https://go.dev/doc/effective_go#pointers_vs_values

[4] https://go.dev/doc/faq#methods_on_values_or_pointers


i had similar experience when i created a tool to solve this problem which i mentioned[1] earlier and posted[2] it to golang-nuts, people told me it’s horrible and you are fine doing what my tool does manually

[1] https://news.ycombinator.com/item?id=44982491#44986946

[2] https://groups.google.com/g/golang-nuts/c/QL5h8zO7MDo/m/qiLi...


> Debugging is a nightmare because it refuses to even compile if you have unused X (which you always will have when you're debugging and testing "What happens if I comment out this bit?")

i made a cli tool[1] to mitigate this problem, it can be integrated into an ide quite easily, currently it has (neo)vim integration described in the readme and a vs code plugin-companion [2] which both can serve as an example and inspiration for creating an integration for your ide of choice

[1] https://github.com/vipkek/gouse

[2] https://marketplace.visualstudio.com/items?itemName=looshch....

edit: formatting


what about interceptors?


down arrow key scrolls the modal for me


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: