feat: add keepdeps.go to preserve mod clean in opensource version (#11752)

* feat: add keepdeps.go to preserve enterprise-only dependencies in OSS builds

* feat: migrate keepdeps.go to core/deps for OSS builds
This commit is contained in:
KOMATA
2026-01-30 17:22:37 +08:00
committed by GitHub
parent 62871acfbb
commit d64cb3dc58

9
core/deps/keepdeps.go Normal file
View File

@@ -0,0 +1,9 @@
//go:build !xpack
package deps
// Keep xpack deps from being pruned by go mod tidy
import (
_ "github.com/patrickmn/go-cache"
_ "github.com/pkg/sftp"
)