🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

www.github.com/codehipster/go-code-visualizer.git

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

www.github.com/codehipster/go-code-visualizer.git

Go Modules
Version
v0.0.0-20180819182012-724bd19554b7
Version published
Created
Source

go-code-visualizer

This project aims to visualize the go code inside a location on your file system. It will show the dependencies between packages and content of those packages

  • Public Types
  • Public Variables
  • Public Functions

What does it do?

The go-code-visualizer will generate a gv(graphviz) file that can be visualized by a dot language visualizer.

How can i use it?

go run go-code-visualizer.go <path>

Alternatively, you can also build the go code into an executable and place it in the folder of the project you want to visualize.

Program will produce a .gv file in the analyzed folder

Place the contents of the .gv file in this(http://mdaines.github.io/viz.js/) online visualizer.

Or

Download a dot graph visualizer (e.g. http://www.graphviz.org/Download..php)

Pass the .gv file to the dot program. (e.g. > dot -Tsvgz dot-visual.gv -o go-code_dot.svgz)

GitHub Logo

FAQs

Package last updated on 19 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts