Skip to content

Instantly share code, notes, and snippets.

@hidetatz
hidetatz / generics_aware_goimports.sh
Last active April 8, 2024 02:13
How to build generics-aware goimports as of 2021/12/07
# In this script I'll use gotip, but there might be other ways
go install golang.org/dl/gotip@latest
# golang/go HEAD will be built
gotip download
# make sure gotip is available
gotip version
git clone https://github.com/golang/tools