mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 08:03:55 +08:00
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:
9
core/deps/keepdeps.go
Normal file
9
core/deps/keepdeps.go
Normal 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"
|
||||
)
|
||||
Reference in New Issue
Block a user