Skip to content

Instantly share code, notes, and snippets.

@mosleim
Created July 24, 2020 16:13
Show Gist options
  • Select an option

  • Save mosleim/b20807160c413c5aedc0defefbabf90d to your computer and use it in GitHub Desktop.

Select an option

Save mosleim/b20807160c413c5aedc0defefbabf90d to your computer and use it in GitHub Desktop.

Revisions

  1. mosleim created this gist Jul 24, 2020.
    3 changes: 3 additions & 0 deletions addTagsToAll
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    for file in ./*.go; do
    gomodifytags -file "${file##*/}" -all -add-tags gorm,json,bson,form,xml -w
    done