cmd/digraph: digraph: a UNIX-style utility command for common operations on directed graphs in text format.
Example: show the transitive closure of imports of the digraph tool itself:
% go list -f '{{.ImportPath}}{{.Imports}}' ... | tr '[]' ' ' |
digraph forward code.google.com/p/go.tools/cmd/digraph
+ basic test.
Should also have tests. https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go File cmd/digraph/digraph.go (right): https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go#newcode34 cmd/digraph/digraph.go:34: The graph is provided on ...
10 years, 6 months ago
(2014-10-21 18:12:40 UTC)
#2
https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go File cmd/digraph/digraph.go (right): https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go#newcode34 cmd/digraph/digraph.go:34: The graph is provided on the standard input. On ...
10 years, 6 months ago
(2014-10-21 19:08:20 UTC)
#4
Thanks for the review. https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph_test.go File cmd/digraph/digraph_test.go (right): https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph_test.go#newcode13 cmd/digraph/digraph_test.go:13: socks shoes On 2014/10/21 20:02:37, ...
10 years, 6 months ago
(2014-10-21 20:20:30 UTC)
#8
Thanks for the review.
https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph_test.go
File cmd/digraph/digraph_test.go (right):
https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph_test....
cmd/digraph/digraph_test.go:13: socks shoes
On 2014/10/21 20:02:37, gri wrote:
> On 2014/10/21 20:00:21, adonovan wrote:
> > On 2014/10/21 19:32:35, gri wrote:
> > > too bad this is not coming from the file clothes.txt
> >
> > Do you mean you wish these string constants were combined?
>
> No, I meant that since you're referring to clothes.txt in your example, it
would
> be nice if there were actually a clothes.txt present, and this is the one you
> use for the testing input.
I see. I wouldn't expect the files mentioned in the -help output of a tool to
be part of its distribution though, so I'll leave it as is.
*** Submitted as https://code.google.com/p/go/source/detail?r=26bf67f2818a&repo=tools *** cmd/digraph: digraph: a UNIX-style utility command for common operations on ...
10 years, 6 months ago
(2014-10-23 13:13:43 UTC)
#9
*** Submitted as
https://code.google.com/p/go/source/detail?r=26bf67f2818a&repo=tools ***
cmd/digraph: digraph: a UNIX-style utility command for common operations on
directed graphs in text format.
Example: show the transitive closure of imports of the digraph tool itself:
% go list -f '{{.ImportPath}}{{.Imports}}' ... | tr '[]' ' ' |
digraph forward code.google.com/p/go.tools/cmd/digraph
+ basic test.
LGTM=gri
R=gri, sameer
CC=golang-codereviews
https://codereview.appspot.com/161760043
Issue 161760043: code review 161760043: cmd/digraph: digraph: a UNIX-style utility command for ...
(Closed)
Created 10 years, 6 months ago by adonovan
Modified 10 years, 6 months ago
Reviewers:
Base URL:
Comments: 28