TGViewer
CatOps CatOps @catops · 5.07K subscribers
Post #2610 2.11K
One of the strengths of Go is the existence of default helper tools such as gofmt and goimport. Thus, you don't have to worry about formatting, for example. These tools can also be easily integrated into your editor of choice.

For quite some time now, I have to write Python code in professional setting and an automated import is one of the things I miss the most. There are tools to achieve that, ofc, but still.

Another thing about such helper tools is that we often take them for granted, especially when they are default. But you don't have to!

This article describes on a high level how goimport works. While it is kinda intuitive, it's always nice to see a bit deeper perspective. And if you want to dive even deeper, you can always just read the code yourself.

#go #programming
Niko, doko? Goimports explained sorcerers conjure spirits with spells, but programmers invoke processes with code
  • 👍 5
  • ❤ 1
More from @catops
  1. Oct 6, 2026A colleague of mine wrote an article about data migrations. Handling data migrations witho…
  2. Oct 1, 2026​​I traded my personal information for this report, so you don’t have to! DataDog presents…
  3. Sep 29, 2026A Cybersecurity books bundle by O’Reilly on Humble Bundle. The bundle is fresh and is stil…
  4. Sep 28, 2026​​For today’s Donations Monday, I’d like to remind you about a fundraiser for a pickup tru…
  5. Sep 26, 2026Here’s Datadog’s take on the increased load on CI. In this article they explain how their…
  6. Sep 25, 2026A new chapter of the CatOps Digest is here! https://newsletter.catops.dev/p/catops-digest-…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →