{"id":24433835,"url":"https://github.com/windler/go-neo4j-cypher","last_synced_at":"2025-03-13T21:25:11.478Z","repository":{"id":57633827,"uuid":"148516531","full_name":"windler/go-neo4j-cypher","owner":"windler","description":"go neo4j transactional cypher HTTP api client","archived":false,"fork":false,"pushed_at":"2018-09-16T11:27:57.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T16:53:40.221Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/windler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-12T17:26:41.000Z","updated_at":"2018-09-16T11:27:58.000Z","dependencies_parsed_at":"2022-09-26T20:20:21.649Z","dependency_job_id":null,"html_url":"https://github.com/windler/go-neo4j-cypher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fgo-neo4j-cypher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fgo-neo4j-cypher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fgo-neo4j-cypher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windler%2Fgo-neo4j-cypher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windler","download_url":"https://codeload.github.com/windler/go-neo4j-cypher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243483735,"owners_count":20298037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-20T16:50:56.477Z","updated_at":"2025-03-13T21:25:11.450Z","avatar_url":"https://github.com/windler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/windler/go-neo4j-cypher)](https://goreportcard.com/report/github.com/windler/go-neo4j-cypher) [![codebeat badge](https://codebeat.co/badges/5e9d2ca1-c2a1-43d2-b5c7-992190e807b2)](https://codebeat.co/projects/github-com-windler-go-neo4j-cypher-master)\n# go neo4j cypher http api client\n`Golang` HTTP api client to access [neo4j](https://neo4j.com/) [transactional cypher endpoint](https://neo4j.com/docs/developer-manual/3.4/http-api/#http-api-transactional).\n\n## Tested neo4j versions\n\n|Version|Success?|\n|-|-|\n|3.4|yes|\n\n## Installation \n```bash\ngo get github.com/windler/go-neo4j-cypher\n```\n\n## Usage\n```go\nimport neo4j \"github.com/windler/go-neo4j-cypher\"\n\nfunc query() {\n   client := neo4j.NewHTTPCypherClient(\"http://\", \"neofj-host\", 7474, \"myuser\", \"secret\")\n   result, err := client.Execute(\u0026neo4j.CypherStatement{\n        Statement:  `MATCH (s) \n        WHERE s.name = {name}\n        return s.name as nodeName`,\n\t\tParameters: map[string]interface{}{\n            \"name\": \"Alfred\",\n        },\n    })\n    \n    if err != nil {\n        panic(err.Error())\n    }\n\n    if len(result.Errors) \u003e 0 {\n        //handle Errors\n    }\n\n    // optional: map result to string slice\n    strResult := result.Map(\"nodeName\", func(rowValue interface{}, meta neo4j.CypherQueryResultValueMeta) interface{} {\n\t\treturn rowValue.(string)\n    })\n\n    //... handle strResult ... \n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindler%2Fgo-neo4j-cypher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindler%2Fgo-neo4j-cypher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindler%2Fgo-neo4j-cypher/lists"}