This commit is contained in:
qaq
2025-06-17 12:17:33 +08:00
parent 4a6b2c8e0f
commit 9fa968d07c
648 changed files with 64968 additions and 1621 deletions
+19
View File
@@ -0,0 +1,19 @@
package loader
import (
"context"
"io"
)
type Loader interface {
Load(context.Context) (io.Reader, error)
Close() error
}
type Lister interface {
List(ctx context.Context) ([]string, error)
}
type Mapper interface {
Map(ctx context.Context) (map[string]string, error)
}