- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for formatDocComment (0.17 sec)
-
src/go/printer/comment.go
// license that can be found in the LICENSE file. package printer import ( "go/ast" "go/doc/comment" "strings" ) // formatDocComment reformats the doc comment list, // returning the canonical formatting. func formatDocComment(list []*ast.Comment) []*ast.Comment { // Extract comment text (removing comment markers). var kind, text string var directives []*ast.Comment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 07:35:19 UTC 2022 - 3.5K bytes - Viewed (0)