1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-23 20:03:43 +00:00

Merge pull request #1014 from SuperHuangXu/patch-1

Update README_zh-CN.md
This commit is contained in:
Joey 2020-11-12 19:13:09 +01:00 committed by GitHub
commit 5b08aa1dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,10 +104,9 @@ func main() {
</p>
## ⚙️ 安装
确保已安装 ([下载](https://golang.org/dl/)) `1.14` 或更高版本的 Go。
Make sure you have Go installed ([download](https://golang.org/dl/)). Version `1.14` or higher is required.
Initialize your project by creating a folder and then running `go mod init github.com/your/repo` ([learn more](https://blog.golang.org/using-go-modules)) inside the folder. Then install Fiber with the [`go get`](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) command:
通过创建文件夹并在文件夹内运行 `go mod init github.com/your/repo` ([了解更多](https://blog.golang.org/using-go-modules)) 来初始化项目,然后使用 [`go get`](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) 命令安装 Fiber
```bash
go get -u github.com/gofiber/fiber/v2