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 4a4eb2fd99
Add flag for default value
2024-04-15 17:29:34 +02:00
scripts Initial commit 2024-04-07 20:55:50 +02:00
structt Add flag for default value 2024-04-15 17:29:34 +02:00
.gitignore Initial commit 2024-04-07 20:55:50 +02:00
README.md Add oracle support 2024-04-12 12:01:00 +02:00
go.mod Add oracle support 2024-04-12 12:01:00 +02:00
go.sum Add oracle support 2024-04-12 12:01:00 +02:00
mariadb.go Improve generated structs 2024-04-12 11:55:36 +02:00
mariadb_test.go Add oracle support 2024-04-12 12:01:00 +02:00
oracle.go Add oracle support 2024-04-12 12:01:00 +02:00
oracle_test.go Add oracle support 2024-04-12 12:01:00 +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 Add oracle support 2024-04-12 12:01:00 +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
  • Oracle 21