{"id":16589924,"url":"https://github.com/rlch/neogo","last_synced_at":"2025-10-29T09:32:01.098Z","repository":{"id":184407068,"uuid":"671837925","full_name":"rlch/neogo","owner":"rlch","description":"A Golang-ORM for Neo4J which creates idiomatic \u0026 fluent Cypher.","archived":false,"fork":false,"pushed_at":"2025-09-05T07:02:57.000Z","size":367,"stargazers_count":16,"open_issues_count":3,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T09:09:51.700Z","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/rlch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-07-28T08:53:38.000Z","updated_at":"2025-09-05T07:02:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"96b3844d-5624-4ffa-9b14-a3a4aa544604","html_url":"https://github.com/rlch/neogo","commit_stats":null,"previous_names":["rlch/neogo"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/rlch/neogo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlch%2Fneogo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlch%2Fneogo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlch%2Fneogo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlch%2Fneogo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rlch","download_url":"https://codeload.github.com/rlch/neogo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rlch%2Fneogo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281599238,"owners_count":26528894,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-10-11T23:10:27.275Z","updated_at":"2025-10-29T09:32:00.825Z","avatar_url":"https://github.com/rlch.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neogo\n\n![logo](https://i.imgur.com/4bK7CqC.png)\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/rlch/neogo)](https://goreportcard.com/report/github.com/rlch/neogo) [![codecov](https://codecov.io/gh/rlch/neogo/branch/main/graph/badge.svg?token=K1NYHBQD1A)](https://codecov.io/gh/rlch/neogo) [![Go Reference](https://pkg.go.dev/badge/github.com/rlch/neogo.svg)](https://pkg.go.dev/github.com/rlch/neogo)\n\nA Golang-ORM for Neo4J which creates idiomatic \u0026 fluent Cypher.\n\n\u003e [!WARNING]\n\u003e The neogo API is still in an experimental phase. Expect minor changes and\n\u003e additions until the first release.\n\n\n## Overview\n\n`neogo` was designed to make writing Cypher as simple as possible, providing a\nsafety-net and reducing boilerplate by leveraging canonical representations of\nnodes and relationships as Golang structs. \n\n- Hands-free un/marshalling between Go and Neo4J\n- No dynamic property, variable, label qualification necessary\n- Creates readable, interoperable Cypher queries\n- Abstract nodes with multiple concrete implementers\n- Heavily tested; full coverage of Neo4J docs examples (see `internal/tests`)\n- Automatic \u0026 explicit:\n    - Variable qualification\n    - Node/relationship label patterns\n    - Parameter injection\n\n## Getting Started\n\nSee the following resources to get started with `neogo`:\n\n- [Docs](https://pkg.go.dev/github.com/rlch/neogo)\n- [Tests](https://github.com/rlch/neogo/tree/main/internal/tests)\n- [Official driver](https://github.com/neo4j/neo4j-go-driver)\n\n\n## Example\n\n\n```go\ntype Person struct {\n\tneogo.Node `neo4j:\"Person\"`\n\n\tName    string `json:\"name\"`\n\tSurname string `json:\"surname\"`\n\tAge     int    `json:\"age\"`\n}\n\nfunc main() {\n    // Simply obtain an instance of the neo4j.DriverWithContext\n    d := neogo.New(driverWithContext)\n\n    person := Person{\n        Name:    \"Spongebob\",\n        Surname: \"Squarepants\",\n    }\n    // person.GenerateID() can be used\n    person.ID = \"some-unique-id\"\n\n    err := d.Exec().\n        Create(db.Node(\u0026person)).\n        Set(db.SetPropValue(\u0026person.Age, 20)).\n        Return(\u0026person).\n        Print().\n        Run(ctx)\n    // Output:\n    // CREATE (person:Person {name: $person_name, surname: $person_surname})\n    // SET person.age = $v1\n    // RETURN person\n\n    fmt.Printf(\"person: %v\\n\", person)\n    // Output:\n    // person: {{some-unique-id} Spongebob Squarepants 20}\n}\n```\n\n\n## Contributions\n\nSee [the contributing guide](CONTRIBUTING.md) for detailed instructions on how to start contibuting to `neogo`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlch%2Fneogo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frlch%2Fneogo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frlch%2Fneogo/lists"}