├── .github └── workflows │ ├── codeql-analysis.yml │ └── test.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── aggregate ├── agg_func.go ├── aggregate.go ├── operator.go └── operator_test.go ├── comparison ├── operator.go ├── operator_test.go ├── pred_func.go └── predicate.go ├── errors.go ├── errors_test.go ├── field.go ├── field_builder.go ├── field_builder_test.go ├── gen ├── .gitignore ├── aggregate.go ├── aggregate_test.go ├── file.go ├── generate.go ├── generate_test.go ├── internal │ └── user.go ├── meta.go ├── meta_test.go ├── predicate.go ├── predicate_test.go ├── repository.go ├── repository_test.go ├── sort.go ├── sort_test.go └── template.go ├── go.mod ├── go.sum ├── logger.go ├── pg_template.go ├── pg_template_test.go ├── revive.toml ├── schema.go ├── schema_builder.go ├── schema_builder_test.go ├── sort ├── direction.go ├── direction_test.go ├── sort.go └── sort_func.go ├── sql.go ├── sqlite_template.go ├── sqlite_template_test.go ├── template.go ├── template_test.go ├── test ├── gen │ └── customtypes │ │ ├── .gitignore │ │ ├── customtypes.go │ │ └── customtypes_test.go └── integration │ ├── generate.go │ ├── player │ └── player.go │ └── playerrepo │ ├── aggregate.go │ ├── main_test.go │ ├── meta.go │ ├── postgres.go │ ├── postgres_test.go │ ├── predicate.go │ ├── predicate_test.go │ ├── repository.go │ ├── repository_test.go │ ├── sort.go │ ├── sqlite.go │ └── sqlite_test.go ├── tx.go └── x ├── etc ├── fmt_src.go └── fmt_src_test.go └── strings ├── camel_case.go └── camel_case_test.go /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/README.md -------------------------------------------------------------------------------- /aggregate/agg_func.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/aggregate/agg_func.go -------------------------------------------------------------------------------- /aggregate/aggregate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/aggregate/aggregate.go -------------------------------------------------------------------------------- /aggregate/operator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/aggregate/operator.go -------------------------------------------------------------------------------- /aggregate/operator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/aggregate/operator_test.go -------------------------------------------------------------------------------- /comparison/operator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/comparison/operator.go -------------------------------------------------------------------------------- /comparison/operator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/comparison/operator_test.go -------------------------------------------------------------------------------- /comparison/pred_func.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/comparison/pred_func.go -------------------------------------------------------------------------------- /comparison/predicate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/comparison/predicate.go -------------------------------------------------------------------------------- /errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/errors.go -------------------------------------------------------------------------------- /errors_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/errors_test.go -------------------------------------------------------------------------------- /field.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/field.go -------------------------------------------------------------------------------- /field_builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/field_builder.go -------------------------------------------------------------------------------- /field_builder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/field_builder_test.go -------------------------------------------------------------------------------- /gen/.gitignore: -------------------------------------------------------------------------------- 1 | userrepo -------------------------------------------------------------------------------- /gen/aggregate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/aggregate.go -------------------------------------------------------------------------------- /gen/aggregate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/aggregate_test.go -------------------------------------------------------------------------------- /gen/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/file.go -------------------------------------------------------------------------------- /gen/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/generate.go -------------------------------------------------------------------------------- /gen/generate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/generate_test.go -------------------------------------------------------------------------------- /gen/internal/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/internal/user.go -------------------------------------------------------------------------------- /gen/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/meta.go -------------------------------------------------------------------------------- /gen/meta_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/meta_test.go -------------------------------------------------------------------------------- /gen/predicate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/predicate.go -------------------------------------------------------------------------------- /gen/predicate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/predicate_test.go -------------------------------------------------------------------------------- /gen/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/repository.go -------------------------------------------------------------------------------- /gen/repository_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/repository_test.go -------------------------------------------------------------------------------- /gen/sort.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/sort.go -------------------------------------------------------------------------------- /gen/sort_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/sort_test.go -------------------------------------------------------------------------------- /gen/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/gen/template.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/go.sum -------------------------------------------------------------------------------- /logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/logger.go -------------------------------------------------------------------------------- /pg_template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/pg_template.go -------------------------------------------------------------------------------- /pg_template_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/pg_template_test.go -------------------------------------------------------------------------------- /revive.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/revive.toml -------------------------------------------------------------------------------- /schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/schema.go -------------------------------------------------------------------------------- /schema_builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/schema_builder.go -------------------------------------------------------------------------------- /schema_builder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/schema_builder_test.go -------------------------------------------------------------------------------- /sort/direction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/sort/direction.go -------------------------------------------------------------------------------- /sort/direction_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/sort/direction_test.go -------------------------------------------------------------------------------- /sort/sort.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/sort/sort.go -------------------------------------------------------------------------------- /sort/sort_func.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/sort/sort_func.go -------------------------------------------------------------------------------- /sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/sql.go -------------------------------------------------------------------------------- /sqlite_template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/sqlite_template.go -------------------------------------------------------------------------------- /sqlite_template_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/sqlite_template_test.go -------------------------------------------------------------------------------- /template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/template.go -------------------------------------------------------------------------------- /template_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/template_test.go -------------------------------------------------------------------------------- /test/gen/customtypes/.gitignore: -------------------------------------------------------------------------------- 1 | customrepo -------------------------------------------------------------------------------- /test/gen/customtypes/customtypes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/gen/customtypes/customtypes.go -------------------------------------------------------------------------------- /test/gen/customtypes/customtypes_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/gen/customtypes/customtypes_test.go -------------------------------------------------------------------------------- /test/integration/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/generate.go -------------------------------------------------------------------------------- /test/integration/player/player.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/player/player.go -------------------------------------------------------------------------------- /test/integration/playerrepo/aggregate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/aggregate.go -------------------------------------------------------------------------------- /test/integration/playerrepo/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/main_test.go -------------------------------------------------------------------------------- /test/integration/playerrepo/meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/meta.go -------------------------------------------------------------------------------- /test/integration/playerrepo/postgres.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/postgres.go -------------------------------------------------------------------------------- /test/integration/playerrepo/postgres_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/postgres_test.go -------------------------------------------------------------------------------- /test/integration/playerrepo/predicate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/predicate.go -------------------------------------------------------------------------------- /test/integration/playerrepo/predicate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/predicate_test.go -------------------------------------------------------------------------------- /test/integration/playerrepo/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/repository.go -------------------------------------------------------------------------------- /test/integration/playerrepo/repository_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/repository_test.go -------------------------------------------------------------------------------- /test/integration/playerrepo/sort.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/sort.go -------------------------------------------------------------------------------- /test/integration/playerrepo/sqlite.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/sqlite.go -------------------------------------------------------------------------------- /test/integration/playerrepo/sqlite_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/test/integration/playerrepo/sqlite_test.go -------------------------------------------------------------------------------- /tx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/tx.go -------------------------------------------------------------------------------- /x/etc/fmt_src.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/x/etc/fmt_src.go -------------------------------------------------------------------------------- /x/etc/fmt_src_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/x/etc/fmt_src_test.go -------------------------------------------------------------------------------- /x/strings/camel_case.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/x/strings/camel_case.go -------------------------------------------------------------------------------- /x/strings/camel_case_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenferrer/nero/HEAD/x/strings/camel_case_test.go --------------------------------------------------------------------------------