doc: use go get -d for installation (#2165)

Installing executables with 'go get' in module
mode is deprecated.
This commit is contained in:
Aleksandr Razumov
2021-11-25 10:47:39 +03:00
committed by GitHub
parent b1e76d1a05
commit 990684c6c8
6 changed files with 7 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ with large data-models.
## Quick Installation
```console
go get entgo.io/ent/cmd/ent
go get -d entgo.io/ent/cmd/ent
```
For proper installation using [Go modules], visit [entgo.io website][entgo instal].

View File

@@ -19,7 +19,7 @@ src="https://s3.eu-central-1.amazonaws.com/entgo.io/assets/gopher_graph.png"/>
## クイックインストール
```console
go get entgo.io/ent/cmd/ent
go get -d entgo.io/ent/cmd/ent
```
[Go modules]を使ったインストールについては、[entgo.io website][entgo instal]をご覧ください。

View File

@@ -17,7 +17,7 @@ ent是一个简单而又功能强大的Go语言实体框架ent易于构建和
## 快速安装
```console
go get entgo.io/ent/cmd/ent
go get -d entgo.io/ent/cmd/ent
```
请访问[entgo.io website][entgo instal]以使用[Go modules]进行正确安装。

View File

@@ -9,7 +9,7 @@ The project comes with a codegen tool called `ent`. In order to install
`ent` run the following command:
```bash
go get entgo.io/ent/cmd/ent
go get -d entgo.io/ent/cmd/ent
```
## Initialize A New Schema
@@ -60,7 +60,7 @@ go mod init <project>
And then, re-run the following command in order to add `ent` to your `go.mod` file:
```console
go get entgo.io/ent/cmd/ent
go get -d entgo.io/ent/cmd/ent
```
Add a `generate.go` file to your project under `<project>/ent`:

View File

@@ -29,7 +29,7 @@ go mod init <project>
## Installation
```console
go get entgo.io/ent/cmd/ent
go get -d entgo.io/ent/cmd/ent
```
After installing `ent` codegen tool, you should have it in your `PATH`.

View File

@@ -25,7 +25,7 @@ go mod init todo
Run the following Go commands to install Ent, and tell it to initialize the project structure along with a `Todo` schema.
```console
go get entgo.io/ent/cmd/ent
go get -d entgo.io/ent/cmd/ent
```
```console