Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bartventer/docstore-gen

🗃️ 🛠️ Docstore Gen: Friendly & Safer Go CDK Docstore, powered by code generation
https://github.com/bartventer/docstore-gen

docstore generator go go-cloud golang

Last synced: 2 days ago
JSON representation

🗃️ 🛠️ Docstore Gen: Friendly & Safer Go CDK Docstore, powered by code generation

Awesome Lists containing this project

README

        

# Docstore Gen

Friendly & Safer [GO CDK Docstore](https://gocloud.dev/howto/docstore/), inspired by [go-gorm/gen](https://github.com/go-gorm/gen).

[![Go Reference](https://pkg.go.dev/badge/github.com/bartventer/docstore-gen.svg)](https://pkg.go.dev/github.com/bartventer/docstore-gen)
[![Release](https://img.shields.io/github/release/bartventer/docstore-gen.svg)](https://github.com/bartventer/docstore-gen/releases/latest)
[![Go Report Card](https://goreportcard.com/badge/github.com/bartventer/docstore-gen)](https://goreportcard.com/report/github.com/bartventer/docstore-gen)
[![Coverage Status](https://coveralls.io/repos/github/bartventer/docstore-gen/badge.svg?branch=master)](https://coveralls.io/github/bartventer/docstore-gen?branch=master)
[![Build](https://github.com/bartventer/docstore-gen/actions/workflows/go.yml/badge.svg)](https://github.com/bartventer/docstore-gen/actions/workflows/go.yml)
![GitHub issues](https://img.shields.io/github/issues/bartventer/docstore-gen)
[![License](https://img.shields.io/github/license/bartventer/docstore-gen.svg)](LICENSE)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fbartventer%2Fdocstore-gen.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fbartventer%2Fdocstore-gen?ref=badge_shield)

## Overview

- Idiomatic & Reusable API from Dynamic Query
- 100% Type-safe DAO API without `interface{}`
- Struct to Query follows Docstore conventions
- Designed to be used with the [Go CDK Docstore](https://gocloud.dev/howto/docstore/)
- Docstore under the hood, supports all features that Docstore querying supports

## Getting Started

* Docstore Gen Guides; see [examples](https://github.com/bartventer/docstore-gen/blob/master/examples/README.md)
* Docstore Guides [https://gocloud.dev/howto/docstore/](https://gocloud.dev/howto/docstore/)

## Maintainers

[@bartventer](https://github.com/bartventer)

## Contributing

All contributions are welcome! Open a pull request to request a feature or submit a bug report.

## License

Released under the [Apache License 2.0](LICENSE).

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fbartventer%2Fdocstore-gen.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fbartventer%2Fdocstore-gen?ref=badge_large)

## Acknowledgements

This project makes use of code from the [go-gorm/gen](https://github.com/go-gorm/gen) project. We thank the authors of go-gorm/gen for their work and for making their code available for reuse.

Additionally, this project is built upon the [Go CDK Docstore](https://gocloud.dev/howto/docstore/) and we appreciate the work of the Go Cloud Development Kit team.