- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for cg (0.01 sec)
-
src/go/ast/import.go
} return prev.(*ImportSpec).Comment == nil } type posSpan struct { Start token.Pos End token.Pos } type cgPos struct { left bool // true if comment is to the left of the spec, false otherwise. cg *CommentGroup } func sortSpecs(fset *token.FileSet, f *File, specs []Spec) []Spec { // Can't short-circuit here even if specs are already sorted, // since they might yet need deduplication.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0)