Skip to content
/ go-erd Public

Go-ERD (Entity Relationship Diagrams) for Golang with Graphviz [WIP]

Notifications You must be signed in to change notification settings

gmarik/go-erd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-ERD [WIP]

Entity Relationship Diagrams for Golang with GraphViz.

Why

Visualize package's types and their inter-relationships to aid exploring and studying source code.

Installation

go get github.com/gmarik/go-erd

Use

# go-erd -path <path>
# ie
go-erd -path $(go env GOROOT)/src/go/ast/ |dot -Tsvg > out.svg
open out.svg

go/ast

go/ast

go/types

go/ast

net/http

Simple on the outside very complex on the inside.

go/ast

TODO

  • cleanup
  • exhaustive coverage for types
  • flag to show only exported fields

About

Go-ERD (Entity Relationship Diagrams) for Golang with Graphviz [WIP]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published