Skip to content

Commit

Permalink
Add installation instructions for dep
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbassi committed Apr 9, 2019
1 parent d5ea67d commit 213738d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ termui is a cross-platform and fully-customizable terminal dashboard and widget

## 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

Expand Down

0 comments on commit 213738d

Please sign in to comment.