Skip to content

Instantly share code, notes, and snippets.

@Matts966
Created September 2, 2019 11:35
Show Gist options
  • Select an option

  • Save Matts966/b931a6751b944331faa1a6cbd3ffe47b to your computer and use it in GitHub Desktop.

Select an option

Save Matts966/b931a6751b944331faa1a6cbd3ffe47b to your computer and use it in GitHub Desktop.
cat txt | awk '{print $1}' | ./readline-refsafe.sh みたいに使うやつ。refsafeのところは静的解析ツールに置き換える
#!/bin/bash
while read line; do
echo $line
go get $line
refsafe $line/...
done
@Matts966

Matts966 commented Sep 2, 2019

Copy link
Copy Markdown
Author

txtgo.modrequire 内部のテキストを適当にコピーして貼ったファイルを想定している。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment