doc: change golang docs links for actual (#2620)

This commit is contained in:
Sasha Melentyev
2022-06-06 17:55:55 +03:00
committed by GitHub
parent dd4519f935
commit 9e4660f104
3 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ Before we get started, make sure you have the following prerequisites installed
## Prerequisites
- [Go](https://golang.org/doc/install)
- [Go](https://go.dev/doc/install)
- [Docker](https://docs.docker.com/get-docker) (optional)
After installing these dependencies, create a directory for the project and initialize a Go module:
@@ -82,7 +82,7 @@ go generate ./ent
## Create a Test Case
Running `go generate ./ent` invoked Ent's automatic code generation tool, which uses the schemas we define in our `schema` package to generate the actual Go code which we will now use to interact with a database. At this stage, you can find under `./ent/client.go`, client code that is capable of querying and mutating the `Todo` entities. Let's create a
[testable example](https://blog.golang.org/examples) to use this. We'll use [SQLite](https://github.com/mattn/go-sqlite3)
[testable example](https://go.dev/blog/examples) to use this. We'll use [SQLite](https://github.com/mattn/go-sqlite3)
in this test-case for testing Ent.
```console