Skip to content

gop mod tidy calls gop get automatically #2175

@xushiwei

Description

@xushiwei

Proposal

gop mod tidy calls gop get automatically

Background

See goplus/yap#124

$ gop mod tidy
2025/02/21 14:10:58 PkgHash: unexpected package - github.com/qiniu/x/stringutil
2025/02/21 14:10:58 PkgHash: unexpected package - github.com/qiniu/x/stringutil
2025/02/21 14:10:58 PkgHash: unexpected package - github.com/qiniu/x/http/fsx
internal error in importing "github.com/goplus/yap" (unsupported version: 2); please report an issue

$gop version
gop v1.3.0 darwin/arm64

======= go.mod
module hello

go 1.24

require github.com/goplus/yap v0.8.1 //gop:class

Workarounds

none

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions