ondrajz / goexplorer

Interactive overview of Go packages using dynamic visualization.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions need an update

iselind opened this issue · comments

I do

% goexplorer -verbose
13:24:07.872890 serving at :8888

and go to http://127.0.0.1:8888/. All i get is a white page saying 404 page not found.

The tip of my cloned git is

commit 8762e267ae486aa438b7e42627e6a1bf14e000f1
Author: Ondrej Fabry <TrueFurby@users.noreply.github.com>
Date:   Sun Apr 2 20:24:22 2017 +0200

    Set theme jekyll-theme-midnight

diff --git a/_config.yml b/_config.yml
index c419263..1885487 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1 +1 @@
-theme: jekyll-theme-cayman
\ No newline at end of file
+theme: jekyll-theme-midnight
\ No newline at end of file

I found that you need to stay in goexplorer directory and run the command.

How do I specify which project I want to explore? Setting GOPATH?

You cant specifiy project path, it will scan all repos in the $GOPATH.

Sorry for the delay in responding.

It's not clear from the docs what directory i need to execute the goexplorer command from. After some experiments it seems to be the source folder. Perhaps the docs could be made more clear on this point.

While testing i found that you cannot handle my GOPATH:

[FAIL] goexplorer % goexplorer -verbose
15:05:39.309004 serving at :8888
15:05:52.577146 Stat for "/home/patriki/projekt/aws/idd-images:/home/patriki/go/src" failed: stat /home/patriki/projekt/aws/idd-images:/home/patriki/go/src: no such file or directory

My $GOPATH contains two paths, separated by a : character. Go supports this just fine.

I can start a new issue for this as the original issue has been fixed.