ktateish / gottani

A tool for combining Go source code into a single .go file
BSD 2-Clause "Simplified" License
9 stars 1 forks source link

PackageName is explicitly specified at ImportSpec even if that is the canonical name #4

Closed ktateish closed 3 years ago

ktateish commented 3 years ago

It does like:

import (
    math "math"
)

The PackageName should be omitted if the name is canonical. The expected output in the above case is:

import (
   "math"
)