переименование store => LocalStorage
This commit is contained in:
@@ -65,7 +65,7 @@ func (s *MinioStorage) NewStorage(ctx context.Context, connString string) (remot
|
||||
|
||||
// normSeparators will normalize all "\\" and "/" to the provided separator
|
||||
func (s *MinioStorage) normSeparators(str string) string {
|
||||
return strings.Replace(strings.Replace(str, "\\", s.separator, -1), "/", s.separator, -1)
|
||||
return strings.ReplaceAll(strings.ReplaceAll(str, "\\", s.separator), "/", s.separator)
|
||||
}
|
||||
|
||||
// Create
|
||||
|
||||
Reference in New Issue
Block a user