Home
Softono

Erd Go

Open source MIT Go
128
Stars
34
Forks
7
Issues
3
Watchers
5 years
Last Commit

 About Erd Go

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)

Platforms

Web Self-hosted

Languages

Go

Links

Need Help Installing Erd Go?

We provide expert installation service for this software. Our team will install, configure, and secure Erd Go on your server. plans start at just $30.

erd-go

GitHub release Build Status Coverage Status Docker Pulls

Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.(convert to dot file)

ER diagram for nfldb

Install

get binary from releases page.

or

go get github.com/kaishuu0123/erd-go

or (for Mac)

brew tap kaishuu0123/erd-go
brew install erd-go

Usage

Usage:
  erd-go [OPTIONS] PATTERN [PATH]

Application Options:
  -i, --input=  input will be read from the given file.
  -o, --output= output will be written to the given file.

Help Options:
  -h, --help    Show this help message

support input from STDIN.

cat examples/nfldb.er | erd-go

ex.) convert to png from dot (use dot command)

cat examples/nfldb.er | erd-go | dot -Tpng -o nfldb.png

Usage (Used by Docker container)

cat examples/nfldb.er | docker run --rm -i kaishuu0123/erd-go | docker run --rm -i risaacson/graphviz dot -T png > nfldb.png

Example

see examples directory

Build Instruction

  1. install glide

    go get github.com/Masterminds/glide
    
  2. install go-bindata

    go get github.com/jteeuwen/go-bindata
    
  3. install peg

    go get github.com/pointlander/peg
    
  4. make

    make
    

LICENSE

MIT

Credits

This work is based off of several existing projects: