- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for stripOutputComment (0.12 sec)
-
src/go/doc/example.go
newF := *f newF.Name = ast.NewIdent("main") newF.Body, comments = stripOutputComment(f.Body, comments) d = &newF } decls = append(decls, d) } // Copy the File, as it may be used elsewhere. f := *file f.Name = ast.NewIdent("main") f.Decls = decls f.Comments = comments return &f } // stripOutputComment finds and removes the "Output:" or "Unordered output:"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 21.4K bytes - Viewed (0)