When invoked with the -analysis flag, godoc performs static analysis on the Go packages it indexes and displays the results in the source and package views. This document provides a brief tour of these features. Type analysis features godoc -analysis=type performs static checking similar to that done by a compiler: it detects ill-formed programs, resolves each identifier to the entity it denotes,
![Static analysis features of godoc - The Go Programming Language](https://cdn-ak-scissors.b.st-hatena.com/image/square/2d5005d814a9ae0d14cf1971b49ee397008fff11/height=288;version=1;width=512/https%3A%2F%2Fgo.dev%2Fdoc%2Fgopher%2Fgopherbelly300.jpg)