SYMBOL INDEX (57 symbols across 10 files) FILE: helper.go function isGoFile (line 10) | func isGoFile(f os.FileInfo) bool { function printError (line 15) | func printError(err error) { function walkFunc (line 19) | func walkFunc(path string, fi os.FileInfo, err error) error { function isLineComment (line 31) | func isLineComment(comment *ast.CommentGroup) bool { function hasCommentPrefix (line 43) | func hasCommentPrefix(comment *ast.CommentGroup, prefix string) bool { function appendCommentGroup (line 47) | func appendCommentGroup(list []*ast.CommentGroup, item *ast.CommentGroup... FILE: helper_test.go function Test_isGoFile (line 8) | func Test_isGoFile(t *testing.T) { FILE: main.go function main (line 33) | func main() { function usage (line 37) | func usage() { function gocmtRun (line 42) | func gocmtRun() int { function processFile (line 75) | func processFile(filename, template string, inPlace bool) error { FILE: parse.go function parseFile (line 13) | func parseFile(fset *token.FileSet, filePath, template string) (af *ast.... function addFuncDeclComment (line 105) | func addFuncDeclComment(fd *ast.FuncDecl, commentTemplate string) { function addValueSpecComment (line 121) | func addValueSpecComment(gd *ast.GenDecl, vs *ast.ValueSpec, commentTemp... function addParenValueSpecComment (line 137) | func addParenValueSpecComment(vs *ast.ValueSpec, commentTemplate string) { function addTypeSpecComment (line 154) | func addTypeSpecComment(gd *ast.GenDecl, ts *ast.TypeSpec, commentTempla... function modifyComment (line 170) | func modifyComment(comment *ast.CommentGroup, prefix string) { FILE: parse_test.go constant baseSrc (line 13) | baseSrc = `package p constant parenSrc (line 47) | parenSrc = `package p constant parenSrc2 (line 75) | parenSrc2 = `package p constant issue7 (line 104) | issue7 = `package p constant existed (line 118) | existed = `package p constant generic (line 226) | generic = `package p function Test_parseFile (line 232) | func Test_parseFile(t *testing.T) { function Test_parseFileWithParenComment (line 268) | func Test_parseFileWithParenComment(t *testing.T) { function TestSkipVendor (line 301) | func TestSkipVendor(t *testing.T) { FILE: testdata/existed.go function FuncWithExistedComment1 (line 16) | func FuncWithExistedComment1() { function FuncWithExistedComment2 (line 19) | func FuncWithExistedComment2() { function FuncWithExistedComment3 (line 24) | func FuncWithExistedComment3() { function FuncWithExistedComment4 (line 29) | func FuncWithExistedComment4() { function FuncWithExistedComment5 (line 35) | func FuncWithExistedComment5() { constant ParenValueWithExistedComment1 (line 59) | ParenValueWithExistedComment1 = 1 constant ParenValueWithExistedComment2 (line 61) | ParenValueWithExistedComment2 = 1 constant ParenValueWithExistedComment3 (line 67) | ParenValueWithExistedComment3 = 1 constant ParenValueWithExistedComment4 (line 69) | ParenValueWithExistedComment4 = 1 type TypeWithExistedComment1 (line 75) | type TypeWithExistedComment1 type TypeWithExistedComment2 (line 78) | type TypeWithExistedComment2 type TypeWithExistedComment3 (line 82) | type TypeWithExistedComment3 type TypeWithExistedComment4 (line 87) | type TypeWithExistedComment4 function Generate (line 100) | func Generate() { FILE: testdata/generic.go type G (line 3) | type G struct FILE: testdata/issue7.go function a (line 8) | func a() { FILE: testdata/main.go constant C (line 9) | C = "constant exported" type t (line 11) | type t struct type T (line 13) | type T struct function main (line 15) | func main() { function unexport (line 18) | func unexport(s string) { function Export (line 20) | func Export(s string) { function ExportWithComment (line 23) | func ExportWithComment(s string) { function ExistedComment (line 27) | func ExistedComment() {} FILE: testdata/parenthesis.go type Summon (line 3) | type Summon constant DarkOmega (line 6) | DarkOmega Summon = "celeste" constant LightOmega (line 8) | LightOmega Summon = "luminineria" constant WindOmega (line 10) | WindOmega Summon = "tiamat" constant FireUtility (line 13) | FireUtility Summon = "the sun" constant Light (line 17) | Light Summon = "lucifer" constant Light2 (line 22) | Light2 Summon = "lucifer"