Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

4. 代码结构

Go语言的代码结构主要分为三个层面:目录结构目录内部的包结构文件内部的代码结构。 标准库的go/parser包只提供了目录和文件解析的函数