Skip to content

the imported package disappears after call gop clean #2362

@gamesky

Description

@gamesky

The following program sample.gop triggers an unexpected result

// add a sample
package main

import (
	"github.com/caarlos0/env/v11"
)
func main(){

}

//output
gop clean
gop run sample.gop

Expected result

run it ok

Got

gop_autogen.go:7:2: missing go.sum entry for module providing package github.com/caarlos0/env/v11; to add:

Gop Version

1.4.6

Additional Notes

No response

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