Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: ISC

Directories

Path Synopsis
Package assist makes the starting XML from the database schema, as the XML assistants of the Java plug-in do (SdmUtils.get_crud_sdm_xml, create_crud_xml_jaxb_dao_class, add_fk_access), with the defaults of their dialog: no schema, views included, English plural to singular for DTO class names, FK access, classes already in use skipped; <crud> is the short one, without inner elements (the "crud-auto" choice of the dialog: default method names).
Package assist makes the starting XML from the database schema, as the XML assistants of the Java plug-in do (SdmUtils.get_crud_sdm_xml, create_crud_xml_jaxb_dao_class, add_fk_access), with the defaults of their dialog: no schema, views included, English plural to singular for DTO class names, FK access, classes already in use skipped; <crud> is the short one, without inner elements (the "crud-auto" choice of the dialog: default method names).
Package cg is the language-independent core of the generator: a port of com.sqldalmaker.cg of the Java plug-in.
Package cg is the language-independent core of the generator: a port of com.sqldalmaker.cg of the Java plug-in.
Package cppgen is the C++ generator: the port of CppCG.java and cpp.vm.
Package cppgen is the C++ generator: the port of CppCG.java and cpp.vm.
Package gen is a generation run for one project: settings.xml and sdm.xml from the sdm folder, metadata from the database <jdbc url>, the result is the texts of DTO and DAO files, in Go, Python or C++ (see LangOf).
Package gen is a generation run for one project: settings.xml and sdm.xml from the sdm folder, metadata from the database <jdbc url>, the result is the texts of DTO and DAO files, in Go, Python or C++ (see LangOf).
Package gogen generates Go code: a port of GoCG, GoTypes, GoStructFormatter and go.vm.
Package gogen generates Go code: a port of GoCG, GoTypes, GoStructFormatter and go.vm.
Package meta is what the database says about SQL queries and tables, as is: no settings, no type-map, no DTO fields.
Package meta is what the database says about SQL queries and tables, as is: no settings, no type-map, no DTO fields.
metadump
Package metadump prints meta.Metadata in the text format of MetaDump.java (sdm-plugins/src_harness), to compare the output with the Java plug-in by plain diff.
Package metadump prints meta.Metadata in the text format of MetaDump.java (sdm-plugins/src_harness), to compare the output with the Java plug-in by plain diff.
mssql
Package mssql is meta.Metadata on top of microsoft/go-mssqldb.
Package mssql is meta.Metadata on top of microsoft/go-mssqldb.
mysql
Package mysql is meta.Metadata on top of MySQL 8 (go-mysql-org/go-mysql: pure Go and the protocol fields in full: flags, charset, length, which database/sql does not expose).
Package mysql is meta.Metadata on top of MySQL 8 (go-mysql-org/go-mysql: pure Go and the protocol fields in full: flags, charset, length, which database/sql does not expose).
pg
Package pg is meta.Metadata on top of pgx.
Package pg is meta.Metadata on top of pgx.
sqlite
Package sqlite is meta.Metadata on top of SQLite (ncruces/go-sqlite3: pure Go, no cgo).
Package sqlite is meta.Metadata on top of SQLite (ncruces/go-sqlite3: pure Go, no cgo).
Package pygen is the Python generator: the port of PythonCG.java and python.vm for no ORM.
Package pygen is the Python generator: the port of PythonCG.java and python.vm for no ORM.
Package sdmxml reads sdm.xml, external <dao-class> files and settings.xml.
Package sdmxml reads sdm.xml, external <dao-class> files and settings.xml.
Package skeleton is what `sdmc init` puts into a project.
Package skeleton is what `sdmc init` puts into a project.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL