golang package alias code example Example: golang import as alias import mpkg "github.com/mylong/packagename"