From 04af6aed80d3a451ea8de88881be0239804d5f42 Mon Sep 17 00:00:00 2001 From: jharshman Date: Wed, 30 Jan 2019 00:02:51 -0800 Subject: [PATCH] vgo - add todo --- cobra/cmd/init.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cobra/cmd/init.go b/cobra/cmd/init.go index 25377558..a6abd1c3 100644 --- a/cobra/cmd/init.go +++ b/cobra/cmd/init.go @@ -47,6 +47,10 @@ Init will not use an existing directory with contents.`, er(err) } + // todo: + // if . use current directory + // else create named directory and set wd to that + project := &Project{ AbsolutePath: wd, PkgName: pkgName,