├── .gitignore ├── README.md ├── cmd └── pb-gen │ └── main.go ├── codegen ├── model.tmpl ├── model_builder.go └── templates.go ├── commands ├── command_models.go ├── globals.go └── open_db.go ├── example ├── data.db ├── posts.go └── users.go └── go.mod /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/README.md -------------------------------------------------------------------------------- /cmd/pb-gen/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/cmd/pb-gen/main.go -------------------------------------------------------------------------------- /codegen/model.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/codegen/model.tmpl -------------------------------------------------------------------------------- /codegen/model_builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/codegen/model_builder.go -------------------------------------------------------------------------------- /codegen/templates.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/codegen/templates.go -------------------------------------------------------------------------------- /commands/command_models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/commands/command_models.go -------------------------------------------------------------------------------- /commands/globals.go: -------------------------------------------------------------------------------- 1 | package commands 2 | 3 | var ( 4 | FlagDBPath string 5 | Verbose bool 6 | ) 7 | -------------------------------------------------------------------------------- /commands/open_db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/commands/open_db.go -------------------------------------------------------------------------------- /example/data.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/example/data.db -------------------------------------------------------------------------------- /example/posts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/example/posts.go -------------------------------------------------------------------------------- /example/users.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/example/users.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexisvisco/pocketpase-gen/HEAD/go.mod --------------------------------------------------------------------------------