summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-15 05:33:47 -0600
committerJeff Carr <[email protected]>2025-02-15 05:33:47 -0600
commit2aee70c24ecf4bdba0cfc67ff26a0f7d7e6d2e06 (patch)
tree8e2bb35094b64d5ec25bde04a1194c18946855cd
parentcb8ebc9e04e3c10572f73cbf52b5a1e674a43758 (diff)
also put CC on .proto filesv0.0.32
-rw-r--r--doWITCOM.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/doWITCOM.go b/doWITCOM.go
index c5e8ddc..c68408a 100644
--- a/doWITCOM.go
+++ b/doWITCOM.go
@@ -103,6 +103,9 @@ func scanForGoFiles(startDir string) ([]string, error) {
if strings.HasSuffix(path, ".go") {
files = append(files, path)
}
+ if strings.HasSuffix(path, ".proto") {
+ files = append(files, path)
+ }
// don't go into any directories
if info.IsDir() {