Skip to content

Instantly share code, notes, and snippets.

@filipenos
Created October 24, 2014 12:31
Show Gist options
  • Save filipenos/f7e9451c49d04f00ee31 to your computer and use it in GitHub Desktop.
Save filipenos/f7e9451c49d04f00ee31 to your computer and use it in GitHub Desktop.
Go tips
gofmt -d -l -r "package.OldFunc -> package.NewFunc" #Dry run to replate old func to new func
gofmt -w -l -r "pakcage.OldFunc -> package.NewFunc" #Replace old func to new func
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment