refactor: 将 StorageConfig.Value() 接收者改为值类型

This commit is contained in:
begoniezhao
2025-09-01 11:02:21 +08:00
parent 54570da047
commit 27a7ed7f85
+1 -1
View File
@@ -84,7 +84,7 @@ type StorageConfig struct {
Provider string `yaml:"provider" json:"provider"`
}
func (c *StorageConfig) Value() (driver.Value, error) {
func (c StorageConfig) Value() (driver.Value, error) {
return json.Marshal(c)
}