From 9ee5b7914787fb5d866354c7000e80379ce0ee3d Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Thu, 23 May 2019 13:49:02 -0700 Subject: [PATCH] Cleanup installation instructions --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ab7776..54d4ac3 100644 --- a/README.md +++ b/README.md @@ -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