proxy.golang.org : github.com/tarmac-project/hord
Package hord provides a simple and extensible interface for interacting with various database systems in a uniform way. Hord is designed to be a database-agnostic library that provides a common interface for interacting with different database systems. It allows developers to write code that is decoupled from the underlying database technology, making it easier to switch between databases or support multiple databases in the same application. To use Hord, import it as follows: To create a database client, you need to import and use the appropriate driver package along with the `hord` package. For example, to use the Redis driver: Each driver provides its own `Dial` function to establish a connection to the database. Refer to the specific driver documentation for more details. Once you have a database client, you can use it to perform various database operations. The API is consistent across different drivers. Refer to the `hord.Database` interface documentation for a complete list of available methods. Hord provides common error types and constants for consistent error handling across drivers. Refer to the `hord` package documentation for more information on error handling. Contributions to Hord are welcome! If you want to add support for a new database driver or improve the existing codebase, please refer to the contribution guidelines in the project's repository.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/tarmac-project/hord
Keywords:
bbolt
, cassandra
, nats
, redis
License: Apache-2.0
Latest release: 7 months ago
First release: over 1 year ago
Namespace: github.com/tarmac-project
Stars: 5 on GitHub
Forks: 1 on GitHub
Total Commits: 232
Committers: 9
Average commits per author: 25.778
Development Distribution Score (DDS): 0.22
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago