feat: new parser & generator

This commit is contained in:
2025-03-09 13:12:12 +07:00
parent 70fc3345d8
commit a3283b9a57
25 changed files with 372 additions and 301 deletions

View File

@@ -20,7 +20,7 @@ onMounted(async () => {
const scheme: Scheme<{{.StructName}}> = reactive({
{{range .Fields}}
{{.Name}}: {{.Generate}},
{{.Name}}: {{.GenerateFieldCode}},
{{end}}
})
@@ -32,4 +32,4 @@ const getDefaults = () => getDefaultValues(scheme)
<main class="w-screen h-screen">
<Table :scheme :service :getDefaults></Table>
</main>
</template>
</template>