Returns initially imported packages, as a string.
(prog *loader.Program)
| 811 | |
| 812 | // Returns initially imported packages, as a string. |
| 813 | func imported(prog *loader.Program) string { |
| 814 | var pkgs []string |
| 815 | for _, info := range prog.Imported { |
| 816 | pkgs = append(pkgs, info.Pkg.Path()) |
| 817 | } |
| 818 | sort.Strings(pkgs) |
| 819 | return strings.Join(pkgs, " ") |
| 820 | } |
| 821 | |
| 822 | // Returns initially created packages, as a string. |
| 823 | func created(prog *loader.Program) string { |
no test coverage detected