├── .gitignore ├── Dockerfile ├── README.md ├── api ├── api.gen.go ├── api.go ├── config.go ├── error.go ├── metrics.go └── user.go ├── cmd └── api │ └── main.go ├── deploy ├── base │ ├── deployment.yaml │ ├── ingress.yaml │ ├── kustomization.yaml │ └── service.yaml └── prod │ └── kustomization.yaml ├── ent ├── client.go ├── config.go ├── context.go ├── ent.go ├── entc.go ├── enttest │ └── enttest.go ├── example_test.go ├── generate.go ├── hook │ └── hook.go ├── migrate │ ├── migrate.go │ └── schema.go ├── mutation.go ├── predicate │ └── predicate.go ├── privacy │ └── privacy.go ├── runtime.go ├── runtime │ └── runtime.go ├── schema │ └── user.go ├── swagger.yaml ├── tx.go ├── user.go ├── user │ ├── user.go │ └── where.go ├── user_create.go ├── user_delete.go ├── user_query.go └── user_update.go ├── go.mod ├── go.sum └── spec ├── path.yaml ├── spec.go ├── swagger.yaml └── sync_components.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /api/api.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/api/api.gen.go -------------------------------------------------------------------------------- /api/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/api/api.go -------------------------------------------------------------------------------- /api/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/api/config.go -------------------------------------------------------------------------------- /api/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/api/error.go -------------------------------------------------------------------------------- /api/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/api/metrics.go -------------------------------------------------------------------------------- /api/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/api/user.go -------------------------------------------------------------------------------- /cmd/api/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/cmd/api/main.go -------------------------------------------------------------------------------- /deploy/base/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/deploy/base/deployment.yaml -------------------------------------------------------------------------------- /deploy/base/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/deploy/base/ingress.yaml -------------------------------------------------------------------------------- /deploy/base/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/deploy/base/kustomization.yaml -------------------------------------------------------------------------------- /deploy/base/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/deploy/base/service.yaml -------------------------------------------------------------------------------- /deploy/prod/kustomization.yaml: -------------------------------------------------------------------------------- 1 | resources: 2 | - ../base 3 | -------------------------------------------------------------------------------- /ent/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/client.go -------------------------------------------------------------------------------- /ent/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/config.go -------------------------------------------------------------------------------- /ent/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/context.go -------------------------------------------------------------------------------- /ent/ent.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/ent.go -------------------------------------------------------------------------------- /ent/entc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/entc.go -------------------------------------------------------------------------------- /ent/enttest/enttest.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/enttest/enttest.go -------------------------------------------------------------------------------- /ent/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/example_test.go -------------------------------------------------------------------------------- /ent/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/generate.go -------------------------------------------------------------------------------- /ent/hook/hook.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/hook/hook.go -------------------------------------------------------------------------------- /ent/migrate/migrate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/migrate/migrate.go -------------------------------------------------------------------------------- /ent/migrate/schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/migrate/schema.go -------------------------------------------------------------------------------- /ent/mutation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/mutation.go -------------------------------------------------------------------------------- /ent/predicate/predicate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/predicate/predicate.go -------------------------------------------------------------------------------- /ent/privacy/privacy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/privacy/privacy.go -------------------------------------------------------------------------------- /ent/runtime.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/runtime.go -------------------------------------------------------------------------------- /ent/runtime/runtime.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/runtime/runtime.go -------------------------------------------------------------------------------- /ent/schema/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/schema/user.go -------------------------------------------------------------------------------- /ent/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/swagger.yaml -------------------------------------------------------------------------------- /ent/tx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/tx.go -------------------------------------------------------------------------------- /ent/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/user.go -------------------------------------------------------------------------------- /ent/user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/user/user.go -------------------------------------------------------------------------------- /ent/user/where.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/user/where.go -------------------------------------------------------------------------------- /ent/user_create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/user_create.go -------------------------------------------------------------------------------- /ent/user_delete.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/user_delete.go -------------------------------------------------------------------------------- /ent/user_query.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/user_query.go -------------------------------------------------------------------------------- /ent/user_update.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/ent/user_update.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/go.sum -------------------------------------------------------------------------------- /spec/path.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/spec/path.yaml -------------------------------------------------------------------------------- /spec/spec.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/spec/spec.go -------------------------------------------------------------------------------- /spec/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/spec/swagger.yaml -------------------------------------------------------------------------------- /spec/sync_components.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aca/go-restapi-boilerplate/HEAD/spec/sync_components.go --------------------------------------------------------------------------------