Skip to content
/ go-kuzu Public

Go language binding for Kùzu graph database management system

License

Notifications You must be signed in to change notification settings

kuzudb/go-kuzu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-kuzu

Go Reference CI Go Report Card License

Official Go language binding for Kuzu. Kuzu an embeddable property graph database management system built for query speed and scalability. For more information, please visit the Kuzu GitHub repository or the Kuzu website.

Installation

go get github.com/kuzudb/go-kuzu

Get started

An example project is available in the example directory.

To run the example project, you can use the following command:

cd example
go run main.go

Docs

The full documentation is available at pkg.go.dev.

Tests

To run the tests, you can use the following command:

go test -v

Windows Support

For Cgo to properly work on Windows, MSYS2 with UCRT64 environment is required. You can follow the instructions below to set it up:

  1. Install MSYS2 from here.
  2. Install Microsoft Visual C++ 2015-2022 Redistributable (x64) from here.
  3. Install the required packages by running the following command in the MSYS2 terminal:
    pacman -S mingw-w64-ucrt-x86_64-go mingw-w64-ucrt-x86_64-gcc
  4. Add the path to kuzu_shared.dll to your PATH environment variable. You can do this by running the following command in the MSYS2 terminal:
    export PATH="$(pwd)/lib/dynamic/windows:$PATH"
    This is required to run the test cases and examples. If you are deploying your application, you can also copy the kuzu_shared.dll file to the same directory as your executable or to a directory that is already in the PATH.

For an example of how to properly set up the environment, you can also refer to our CI configuration file here.

Contributing

We welcome contributions to go-kuzu. By contributing to go-kuzu, you agree that your contributions will be licensed under the MIT License. Please read the contributing guide for more information.

About

Go language binding for Kùzu graph database management system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •