This is an automated email from the ASF dual-hosted git repository.
vinci pushed a change to branch refactor
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git.
from 24c627a fmt project
new dda1cb9 feat: add validator for generic store; add demo error
new a5956e7 feat: upgrade droplet
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
api/go.mod | 6 ++-
api/go.sum | 10 +++++
api/internal/core/store/store.go | 20 +++++++--
api/internal/core/store/store_test.go | 71 +++++++++++++++++++++++--------
api/internal/core/store/test_case.json | 19 +++++++++
api/internal/core/store/validate.go | 49 +++++++++++++++++++++
api/internal/core/store/validate_test.go | 51 ++++++++++++++++++++++
api/internal/core/store/validator_mock.go | 24 +++++++++++
api/internal/utils/consts/error.go | 12 ++++++
9 files changed, 239 insertions(+), 23 deletions(-)
create mode 100644 api/internal/core/store/test_case.json
create mode 100644 api/internal/core/store/validate.go
create mode 100644 api/internal/core/store/validate_test.go
create mode 100644 api/internal/core/store/validator_mock.go
create mode 100644 api/internal/utils/consts/error.go