From 805596aed24fed0db1c43d6673d8c93b8564e2cd Mon Sep 17 00:00:00 2001 From: gogacoder Date: Sat, 1 Feb 2025 23:11:09 +0700 Subject: [PATCH] feat: update data scheme --- internal/extras/mirror/export.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/extras/mirror/export.go b/internal/extras/mirror/export.go index c90da30..6c13af1 100644 --- a/internal/extras/mirror/export.go +++ b/internal/extras/mirror/export.go @@ -16,10 +16,10 @@ type Field struct { } type Model struct { - Name string - Fields []Field + Name string `json:"name"` + Fields []Field `json:"fields"` } -type Schema struct { - models []Model +type Scheme struct { + Models []Model `json:"models"` }