-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/inspect: render "related resources" and small misc changes (#4399)
Some small changes: * cmd/inspect: inline ast.DropHead() as dropDataPrefix() -- to avoid the extra export in the ast package * docs/annotations: update related_resources example * cmd/inspect: unexport PageWidth * cmd/inspect: make usage text markdown-friendly This looks better on the website docs, and doesn't matter much when viewed on the CLI. * cmd/inspect: add test for pretty annotations output * cmd/inspect: also render related_resources in pretty mode Signed-off-by: Stephan Renatus <[email protected]>
- Loading branch information
Showing
5 changed files
with
187 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters