chore: gofmt alignment and stale doc comment on cos Driver.Open

Authored By: TDvorak <info@tdvorak.dev>

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
pull/3582/head
Tomas Dvorak 2 weeks ago
parent 3a5f01a63f
commit 2984d707a8

@ -234,7 +234,7 @@ func (handler Driver) CORS() error {
return err return err
} }
// Get 获取文件 // Open opens a file for reading
func (handler *Driver) Open(ctx context.Context, path string) (*os.File, error) { func (handler *Driver) Open(ctx context.Context, path string) (*os.File, error) {
return nil, errors.New("not implemented") return nil, errors.New("not implemented")
} }

@ -8,8 +8,8 @@ import (
"time" "time"
"github.com/cloudreve/Cloudreve/v4/application/dependency" "github.com/cloudreve/Cloudreve/v4/application/dependency"
"github.com/cloudreve/Cloudreve/v4/inventory/types"
"github.com/cloudreve/Cloudreve/v4/inventory" "github.com/cloudreve/Cloudreve/v4/inventory"
"github.com/cloudreve/Cloudreve/v4/inventory/types"
"github.com/cloudreve/Cloudreve/v4/pkg/cluster" "github.com/cloudreve/Cloudreve/v4/pkg/cluster"
"github.com/cloudreve/Cloudreve/v4/pkg/filemanager/fs" "github.com/cloudreve/Cloudreve/v4/pkg/filemanager/fs"
"github.com/cloudreve/Cloudreve/v4/pkg/filemanager/fs/dbfs" "github.com/cloudreve/Cloudreve/v4/pkg/filemanager/fs/dbfs"

@ -239,7 +239,7 @@ func TestBlackHole(t *testing.T) {
func TestHTTPClient_TPSLimit(t *testing.T) { func TestHTTPClient_TPSLimit(t *testing.T) {
a := assert.New(t) a := assert.New(t)
client := NewClient(nil, ) client := NewClient(nil)
finished := make(chan struct{}) finished := make(chan struct{})
go func() { go func() {

Loading…
Cancel
Save