Skip to content

Gotype should check an entire package instead of one file. #1990

Open
@DmitriyMV

Description

@DmitriyMV

Continuation of #1967

Right now, if your project has more than one file and type, plugin will produce errors. That's because currently gotype is only checking selected file without getting types from others, so it doesn't know anything about them. Solution is quite simple - just check the folder and not the file.

In case of /src/github.com/username/goproject/main.go should become /src/github.com/username/goproject

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions