package main | |
import ( | |
"errors" | |
"fmt" | |
"io" | |
"log" | |
"math" | |
) | |
import ( | |
"fmt" | |
"math" | |
) | |
import ( | |
"fmt" | |
"math" | |
"log" | |
"errors" | |
"io" | |
) | |
import ( | |
"errors" | |
"fmt" | |
"io" | |
"log" | |
"math" | |
"fmt" | |
"math" | |
"log" | |
"errors" | |
"io" | |
) | |
import ( | |
// a block with comments | |
"errors" | |
"fmt" // for Printf | |
"io" // for Reader | |
"log" // for Fatal | |
"math" | |
) | |
import ( | |
"fmt" // for Printf | |
"math" | |
"log" // for Fatal | |
"errors" | |
"io" // for Reader | |
) | |
import ( | |
// for Printf | |
"fmt" | |
"math" | |
// for Fatal | |
"log" | |
"errors" | |
// for Reader | |
"io" | |
) | |
import ( | |
"errors" | |
"fmt" // for Printf | |
"io" // for Reader | |
"log" // for Fatal | |
"math" | |
"fmt" // for Printf | |
"math" | |
"log" // for Fatal | |
"errors" | |
"io" // for Reader | |
) | |
import ( | |
"fmt" // for Printf | |
"errors" | |
"io" // for Reader | |
"log" // for Fatal | |
"math" | |
"errors" | |
"fmt" // for Printf | |
"io" // for Reader | |
"log" // for Fatal | |
"math" | |
) | |
// Test deduping and extended sorting | |
import ( | |
a "A" // aA | |
b "A" // bA1 | |
b "A" // bA2 | |
"B" // B | |
. "B" // .B | |
_ "B" // _b | |
"C" | |
a "D" // aD | |
) | |
import ( | |
"dedup_by_group" | |
"dedup_by_group" | |
) |