https://github.com/spatialcurrent/go-graph
Framework code for building graph databases and APIs in Go.
https://github.com/spatialcurrent/go-graph
Last synced: 7 days ago
JSON representation
Framework code for building graph databases and APIs in Go.
- Host: GitHub
- URL: https://github.com/spatialcurrent/go-graph
- Owner: spatialcurrent
- License: mit
- Created: 2018-02-07T04:11:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T04:24:20.000Z (over 7 years ago)
- Last Synced: 2024-06-20T15:04:16.517Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 883 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# go-graph
# Description
**go-graph** contains framework code for building graph databases and APIs in [Go](http://golang.org).
# Building
```
go get github.com/spatialcurrent/go-graph
```
# Usage
**Server**
```
backend, err := LoadBackendFromPlugin("/path/to/custom/graph/plugin.so", "NewGraphBackend")
```
**Plugin**
```
package main
import (
"net/http"
)
import (
"github.com/spatialcurrent/go-graph/backend"
)
func NewGraphBackend() backend.Backend {
return &MyCustomGraphBackend{}
}
func (a *GraphBackend) Type() string {
return "My Custom Graph Backend"
}
```
# Contributing
[Spatial Current, Inc.](https://spatialcurrent.io) is currently accepting pull requests for this repository. We'd love to have your contributions! Please see [Contributing.md](https://github.com/spatialcurrent/go-graph/blob/master/CONTRIBUTING.md) for how to get started.
# License
This work is distributed under the **MIT License**. See **LICENSE** file.