Skip to content

Instantly share code, notes, and snippets.

@iamucil
Last active June 6, 2023 07:30
Show Gist options
  • Save iamucil/882a2a022652026256856c846b7ac86f to your computer and use it in GitHub Desktop.
Save iamucil/882a2a022652026256856c846b7ac86f to your computer and use it in GitHub Desktop.
First thing to do after moving to go 1.19

Rename all interface{} to any

find . -type f -name "*.go" | xargs gofmt -w -r 'interface{} -> any' 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment