Skip to content

Commit

Permalink
prevent this error labstack/echo#1374 (#177)
Browse files Browse the repository at this point in the history
* Improve installation section to avoid errors like `https://github.com/labstack/echo/issues/1374`

Co-authored-by: Roland Lammel <[email protected]>
  • Loading branch information
ruannawe and lammel authored Feb 4, 2021
1 parent d899094 commit 45ac9fc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion website/content/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,22 @@ type = "guide"

### Installation

To install Echo Go v1.13 or higher is required. Go v1.12 has limited support and some middlewares will not be available.
Make sure your project folder is outside your `$GOPATH`.

```sh
$ mkdir myapp && cd myapp
$ go mod init myapp
$ go get github.com/labstack/echo/v4
```

If you are working with a Go v1.14 or earlier use:
If you are working with Go v1.14 or earlier use:

```sh
$ GO111MODULE=on go get github.com/labstack/echo/v4
```


### Hello, World!

Create `server.go`
Expand Down

0 comments on commit 45ac9fc

Please sign in to comment.