Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveTableCommentSuffix ¶ added in v0.0.15
func WriteServiceProto ¶ added in v0.0.4
func WriteServicesProto ¶ added in v0.0.8
func WriteServicesProto( outputPath string, serviceType string, targetModuleName, sourceModuleName, moduleVersion string, tables TableDataArray, ) error
Types ¶
type ProtoField ¶ added in v0.0.4
type ProtoField generators.ProtoField
type ProtoFieldArray ¶ added in v0.0.4
type ProtoFieldArray []generators.ProtoField
type TableDataArray ¶ added in v0.0.3
func Convert ¶
func Convert( ctx context.Context, dsn, outputPath *string, moduleName, sourceModuleName, moduleVersion *string, serviceType *string, includeTables, excludeTables []string, exportProto bool, ) (TableDataArray, error)
Convert converts the database schema into a protocol buffer definition.
Click to show internal directories.
Click to hide internal directories.