Skip to content

internal/pkgset: avoid loading all std packages #65

@egonelbre

Description

@egonelbre

Currently the code loads all the std library packages, which takes a bunch of time. It's only used to remove std library packages from the output.

https://github.com/loov/goda/blob/v0.5.3/internal/pkgset/std.go#L13

Instead of loading the std packages separately, write a func that detects based on packages.Package whether it's a std library package or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions