使用统一方法pgk进行调用

This commit is contained in:
ayflying
2025-03-04 18:58:10 +08:00
parent 6eeb5a57cd
commit 0e55698a47
24 changed files with 1452 additions and 112 deletions

View File

@@ -36,6 +36,7 @@ type Mod struct {
cfg DataType
}
// Deprecated: Use Pgk.S3()
func New(_name ...string) *Mod {
var name string
if len(_name) > 0 {