Created a diagram containing dependencies for any Go project hosted on Github.com platform.
go get -u github.com/foae/dimagomake test && make run– will start an HTTP server on localhost 8080
{
"message": "OK",
"status": 200
}- Action: will retrieve the repository for inspection
- Result: a diagram served via Cacoo API that resembles this example – under development!
- Needed headers:
Content-Type: application/json - Body:
{
"url": "https://github.com/username/projectname"
}