https://github.com/fbiville/graphconnect-go-workshop
https://github.com/fbiville/graphconnect-go-workshop
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fbiville/graphconnect-go-workshop
- Owner: fbiville
- License: apache-2.0
- Created: 2022-05-13T12:34:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-07T15:01:20.000Z (about 4 years ago)
- Last Synced: 2025-02-10T04:28:12.712Z (over 1 year ago)
- Language: Go
- Size: 3.81 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mastering Neo4j with Go and GoGM
This repository defines a set of exercises covering:
1. the basics of [Go](https://go.dev/)
2. the [Go driver](https://github.com/neo4j/neo4j-go-driver) for [Neo4j](https://neo4j.com/)
3. the [GoGM](https://github.com/mindstand/gogm) mapping framework
## Prerequisites
You need [Go 1.18+](https://go.dev/dl/) installed on your machine along with [Docker](https://docs.docker.com/get-docker/) to run the Neo4j test containers.
## Structure
Every exercise is defined as a standard Go test.
You simply have to follow the order and fill the blanks (i.e. `TODO`
comments), one by one.
If you do not want to use an IDE, you can use the command line to run a
specific test like this:
```shell
go test -v -run TestVariablesAndBasicTypes/'try some built-in types' ./1-golang-intro/...
```
That commands run the test named `try some built-in types`, nested in
`TestVariablesAndBasicTypes` in the `1-golang-intro` module.