Skip to content

single line import doesn't work with mage:import #194

@natefinch

Description

@natefinch

This doesn't work, and should:

// +build mage

package main

// mage:import
import "foo/bar"

It ignores the import because it's a single line and not an

import (
    // mage:import
    "foo/bar"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions