Skip to content

Commit

Permalink
feat: driver config
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jun 7, 2022
1 parent 79965ab commit ac0f984
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/driver/config.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package driver

type Config struct {
Name string
LocalSort bool
}
1 change: 1 addition & 0 deletions internal/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ type Other interface {
Drop(ctx context.Context) error
// GetAccount transform additional field to string and assign to account's addition
GetAccount() model.Account
Config() Config
}

0 comments on commit ac0f984

Please sign in to comment.