优化OSS相关代码

This commit is contained in:
GoEdgeLab
2023-07-02 11:04:59 +08:00
parent dde7581a82
commit 5a5ce4d417

View File

@@ -3,6 +3,8 @@
package ossconfigs
import "errors"
type OSSType = string
type OSSTypeDefinition struct {
@@ -26,5 +28,5 @@ func FindOSSType(code string) *OSSTypeDefinition {
}
func DecodeOSSOptions(ossType OSSType, optionsJSON []byte) (any, error) {
return nil, nil
return nil, errors.New("'" + ossType + "' has not been supported")
}