Skip to content

Instantly share code, notes, and snippets.

@chappjc
Created October 25, 2021 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chappjc/3e716e6d491d167a43cbdbc5619e7c05 to your computer and use it in GitHub Desktop.
Save chappjc/3e716e6d491d167a43cbdbc5619e7c05 to your computer and use it in GitHub Desktop.
find . -type f -not -path '*/\.git/*' -name "*.go" -exec sed -i 's/harness && lgpl/harness/' {} +
find . -type f -not -path '*/\.git/*' -name "*.go" -exec sed -i 's/harness,lgpl/harness/' {} +
find . -type f -not -path '*/\.git/*' -name "*.go" -exec sed -i '/lgpl/d' {} +
go fmt ./...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment