Cleanup installation instructions

This commit is contained in:
Caleb Bassi 2019-05-23 13:49:02 -07:00
parent 213738dbc7
commit 9ee5b79147

View File

@ -14,9 +14,13 @@ termui is a cross-platform and fully-customizable terminal dashboard and widget
## 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