迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:GraphLayer开源软件地址:https://gitee.com/cloudcube/graphlayer开源软件介绍:GraphLayerGraphLayer is a Graph database adapter! ##Completed:
##To Do:
##DocumentationSee GoDoc for automatic This driver is a work in progress. It is not yet complete, but may now besuitable for use by others. The code has an extensive set of integrationtests, but very little real-world testing. use in production at your ownrisk. ##Install //go get git.oschina.net/cloudcube/graphlayer //oschina.netgo get github.com/innovationturbo/GraphLayer //github.com ##Basic Example package mainimport ( "log" _ "github.com/innovationturbo/GraphLayer" //github.com //git.oschina.net/cloudcube/graphlayer //oschina.net)func main(){ session,err:=Dial(dbConfig) if err!=nil{ log.Println(err) } //create a node data:=map[string]interface{}{ "name":"test", "key":1, } node1,err:=session.CreateNode(data) if err! = nil{ log.Println(err) } ......} #License graphdb is licensed under AGPL V3, see LICENSE for more information. ![]() |
请发表评论