Skip to content

Commit ac0f984

Browse files
committed
feat: driver config
1 parent 79965ab commit ac0f984

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

internal/driver/config.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package driver
2+
3+
type Config struct {
4+
Name string
5+
LocalSort bool
6+
}

internal/driver/driver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ type Other interface {
3232
Drop(ctx context.Context) error
3333
// GetAccount transform additional field to string and assign to account's addition
3434
GetAccount() model.Account
35+
Config() Config
3536
}

0 commit comments

Comments
 (0)