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 29b84da874
[Mariadb] Detect TEXT data types
2024-04-26 21:01:15 +02:00
scripts Initial commit 2024-04-07 20:55:50 +02:00
structt Fix parsing of existing imports with empty line 2024-04-26 20:57:06 +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 [Mariadb] Detect TEXT data types 2024-04-26 21:01:15 +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