feat: driver config

refactor/fs
Noah Hsu 2022-06-07 16:31:28 +08:00
parent 79965ab4b3
commit ac0f984136
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
package driver
type Config struct {
Name string
LocalSort bool
}

View File

@ -32,4 +32,5 @@ type Other interface {
Drop(ctx context.Context) error Drop(ctx context.Context) error
// GetAccount transform additional field to string and assign to account's addition // GetAccount transform additional field to string and assign to account's addition
GetAccount() model.Account GetAccount() model.Account
Config() Config
} }