gonlineviz

command module
v0.0.0-...-3295a7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 19 Imported by: 0

README

gonlineviz

gonlineviz is a dependency graph visualization tool. It's basically goviz but available on a HTTP endpoint.

installation

go get github.com/vrischmann/gonlineviz

usage

gonlineviz [-listen <listen address>] [-goroot <goroot>]

The default values are:

  • LISTEN_ADDRESS environment variable, or localhost:3245
  • GOROOT environment variable, or /usr/local/go

The GOPATH environment variable needs to be set.

Once running, simply points your browser to http://localhost:3245/<package path> where package path is an import path in the form github.com/vrischmann/envconfig or golang.org/x/tools/vcs

parameters

There are two parameters:

  • leaf, true or false. If true, draws the leafs too.
  • reversed, a package path. If set, graph starting from this package.
  • depth, an int. If set, limit the graph depth.

live demo

There's a live demo here.

Some basic examples:

Some examples using leaf=true

Some examples using reversed

  • focusing on golang.org/x/net/context in gocql

NOTE: the live demo is super slow to compile, and rate limited. Don't break it.

thanks

Thanks to goviz for the graph generation code.

license

MIT licensed, see the LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL