()
| 20 | } |
| 21 | |
| 22 | func (s ImportSpec) String() string { |
| 23 | if s.ID != "" { |
| 24 | return fmt.Sprintf("%s %q", s.ID, s.Path) |
| 25 | } else { |
| 26 | return fmt.Sprintf("%q", s.Path) |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func mergeImports(imps ...fileImports) [][]ImportSpec { |
| 31 | if len(imps) == 1 { |
no outgoing calls
no test coverage detected