Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

KurrentDB Go Client

License

NotificationsYou must be signed in to change notification settings

kurrent-io/KurrentDB-Client-Go

Repository files navigation

Kurrent

KurrentDB Go Client

PkgGoDevCILTSPrevious LTS

KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Itsevent-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solvesdistributed messaging challenges and ensures data consistency.

"KurrentDB Client Go" is the client for talking toKurrentDB.

The fastest way to add this client to a project is to rungo get github.com/kurrent-io/KurrentDB-Client-Go@latest withgo, SeeINSTALL.md for detailed installation instructions and troubleshooting.

Documentation

Communities

Join our global community of developers.

Contributing

Development is done on themain branch.We attempt to do our best to ensure that the history remains clean and to do so, we generally ask contributors to squashtheir commits into a set or single logical commit.

Building the client

The client is built using theGo programming language. To build the client, you need to have Goinstalled on your machine. You can download it from the official Go website.Once you have Go installed, you can build the client by running the following command in the root directory of theproject:

make build

The build scripts:build.sh andbuild.ps1 are also available for Linux and Windows respectively to simplify thebuild process.

Running the tests

Testing requiresDocker andDocker Compose to be installed.

Start all required KurrentDB services using the provideddocker-compose configuration:

make start-kurrentdb

To stop the services, you can run:

make stop-kurrentdb

You can launch the tests as follows:

make test

Alternatively, you can run the tests using thego test command:

gotest ./...

By default, the test suite uses the Docker image:docker.kurrent.io/eventstore/eventstoredb-ee:lts. To run the testswith a different image, set the environment variables listed below.

For example, to use the commercial imagedocker.kurrentio/eventstore-ee/eventstoredb-commercial:23.10.5-commercialb-bookworm-slim, configure your environmentwith:

Variable NameExample Value
EVENTSTORE_DOCKER_REGISTRYdocker.kurrentio/eventstore-ee
EVENTSTORE_DOCKER_IMAGEeventstoredb-commercial
EVENTSTORE_DOCKER_TAG23.10.5-commercialb-bookworm-slim

These variables combine to form the complete image reference used during testing.

More resources


[8]ページ先頭

©2009-2025 Movatter.jp