A simple go module to parse all table columns from a running database and transform them into a generic go struct
 
 
Go to file
Jonas Letzbor b31c3d327b
Improve generated structs
2024-04-12 11:55:36 +02:00
scripts Initial commit 2024-04-07 20:55:50 +02:00
structt Improve generated structs 2024-04-12 11:55:36 +02:00
.gitignore Initial commit 2024-04-07 20:55:50 +02:00
README.md Initial commit 2024-04-07 20:55:50 +02:00
go.mod Add json tags and fix smaller issues 2024-04-09 19:10:16 +02:00
go.sum Initial commit 2024-04-07 20:55:50 +02:00
mariadb.go Improve generated structs 2024-04-12 11:55:36 +02:00
mariadb_test.go Add json tags and fix smaller issues 2024-04-09 19:10:16 +02:00
parser.go Initial commit 2024-04-07 20:55:50 +02:00
types.go Initial commit 2024-04-07 20:55:50 +02:00
utils_test.go Initial commit 2024-04-07 20:55:50 +02:00

README.md

DDL-Parser

DDL-Parser is a simple go module to parse all table columns from a running database and transform them into a generic go struct.

The following SQL databases are supported and tested:

  • MariaDB 10.6