From f9d34972c1fa7a8d3d4158ab46503a6e7a99e822 Mon Sep 17 00:00:00 2001 From: Johanan Liebermann Date: Sat, 24 Jun 2017 17:32:18 +0300 Subject: [PATCH] Fix RootCmd var name 'rootCmd' should be 'RootCmd'. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1eef779..b30330ba 100644 --- a/README.md +++ b/README.md @@ -325,7 +325,7 @@ func init() { } func Execute() { - rootCmd.Execute() + RootCmd.Execute() } func main() {