Update for Lemmy v0.17.3

This commit is contained in:
2023-06-05 13:30:13 -07:00
parent 86c9270820
commit ff36330625
11 changed files with 194 additions and 104 deletions

View File

@@ -44,7 +44,7 @@ func main() {
baseStructDir := filepath.Join(*outDir, "types")
sp := parser.NewStruct(nil)
sp.Skip = []string{"LemmyContext"}
sp.Skip = []string{"LemmyContext", "Recipient", "WsMessage", "Connect", "SessionInfo"}
for _, structDir := range structDirs {
dir := filepath.Join(*lemmyDir, structDir)
err := filepath.WalkDir(dir, func(path string, d fs.DirEntry, err error) error {