feat: add goctl parser and queries

This commit is contained in:
zhaown 2024-07-07 23:27:21 +08:00 committed by GitHub
parent ad43c7f19e
commit f9aa4f060e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 105 additions and 0 deletions

11
queries/goctl/folds.scm Normal file
View file

@ -0,0 +1,11 @@
[
(typeGroupSpec)
(typeSingleSpec)
(typeStruct)
(serviceSpec)
(serviceBody)
(importStatement)
(serviceServerSpec)
(infoStatement)
(structType)
] @fold