我在应用程序中创建了简单的 go,并在应用程序中对我尝试过 godoc -html 的函数和包以及我的应用程序和结果进行了注释
<!--
Copyright 2009 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<!--
Note: Static (i.e., not template-generated) href and id
attributes start with "pkg-" to make it impossible for
them to conflict with generated attributes (some of which
correspond to Go identifiers).
-->
<script type='text/javascript'>
document.ANALYSIS_DATA = ;
document.CALLGRAPH = ;
</script>
<p>
Package main provides logic ...
</p>
为什么我没有看到我的其他文件?以及为什么<p>
for 包有空格
// Package main provides logic.
package main
import (
}
some types.....
func main() {
}
// doLogic .....
// .....
// ....
func (sm *myI) doLogic (s *myStruct) bool {
}