- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for regAssign (0.09 sec)
-
src/go/ast/import.go
importComments[s] = append(importComments[s], cgPos{left: left, cg: g}) } // Sort the import specs by import path. // Remove duplicates, when possible without data loss. // Reassign the import paths to have the same position sequence. // Reassign each comment to the spec on the same line. // Sort the comments by new position. slices.SortFunc(specs, func(a, b Spec) int { ipath := importPath(a) jpath := importPath(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0)