mirror of https://github.com/gizak/termui.git
Cleanup installation instructions
This commit is contained in:
parent
213738dbc7
commit
9ee5b79147
|
@ -14,9 +14,13 @@ termui is a cross-platform and fully-customizable terminal dashboard and widget
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Go modules: It is not necessary to `go get` termui, since Go will automatically download any imported dependencies. Do note that you have to include `/v3` at the end of the URL and before any sub-packages in the termui import statements as shown in the 'Hello World' example below.
|
#### Go modules
|
||||||
|
|
||||||
Dep: termui can be added with Dep using `dep ensure -add github.com/gizak/termui` but the `/v3` needs to be *removed* from all import statements.
|
It is not necessary to `go get` termui, since Go will automatically manage any imported dependencies for you. Do note that you have to include `/v3` in the import statement as shown in the 'Hello World' example below.
|
||||||
|
|
||||||
|
#### Dep
|
||||||
|
|
||||||
|
Add with `dep ensure -add github.com/gizak/termui`. With Dep, `/v3` should *not* be included in the import statement.
|
||||||
|
|
||||||
## Hello World
|
## Hello World
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue