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 f1141f9607
[MariaDB] Extend type detection
2024-04-30 13:00:56 +02:00
scripts Initial commit 2024-04-07 20:55:50 +02:00
structt [Mariadb] Initial support for geometric data type: POINT 2024-04-28 19:54:36 +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
ctypes.go [Mariadb] Initial support for geometric data type: POINT 2024-04-28 19:54:36 +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] Extend type detection 2024-04-30 13:00:56 +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 [Mariadb] Initial support for geometric data type: POINT 2024-04-28 19:54:36 +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