mirror of https://github.com/gizak/termui.git
Add installation instructions for dep
This commit is contained in:
parent
d5ea67dfda
commit
213738dbc7
|
@ -14,7 +14,9 @@ termui is a cross-platform and fully-customizable terminal dashboard and widget
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
If using Go 1.11 modules, it is not necessary to `go get` termui, since Go will automatically download any imported dependencies. However, 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: 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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
## Hello World
|
## Hello World
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue