Commit 02a2c48
committed
fix: add main package for ergocheck to enable go install
Fixes #3
The ergocheck package was a library package, not a main package,
so `go install github.com/newmo-oss/ergo/ergocheck@v0.1.0` failed.
Added cmd/ergocheck/main.go with singlechecker.Main() to make it
installable as a CLI tool.
Signed-off-by: sivchari <shibuuuu5@gmail.com>1 parent 7204e13 commit 02a2c48
3 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments