mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	优化OSS相关代码
This commit is contained in:
		@@ -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")
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user