From ac0f984136c86cc0b44c3df7a7092ab54ce662ee Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Tue, 7 Jun 2022 16:31:28 +0800 Subject: [PATCH] feat: driver config --- internal/driver/config.go | 6 ++++++ internal/driver/driver.go | 1 + 2 files changed, 7 insertions(+) create mode 100644 internal/driver/config.go diff --git a/internal/driver/config.go b/internal/driver/config.go new file mode 100644 index 00000000000..b1db1d109ae --- /dev/null +++ b/internal/driver/config.go @@ -0,0 +1,6 @@ +package driver + +type Config struct { + Name string + LocalSort bool +} diff --git a/internal/driver/driver.go b/internal/driver/driver.go index b0c4aa45efd..9d8791613bd 100644 --- a/internal/driver/driver.go +++ b/internal/driver/driver.go @@ -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 }