package
0.0.0-20240425054806-d534a7ca9db8
Repository: https://github.com/xiafei114/sql2api.git
Documentation: pkg.go.dev

# Functions

GenerateSchema generates a protobuf schema from a database connection and a package name.
NewEnumField constructs an EnumField type.
NewMessageField creates a new message field.

# Structs

Column represents a database column.
Enum represents a protocol buffer enumerated type.
EnumField represents a field in an enumerated type.
Message represents a protocol buffer message.
MessageField represents the field of a message.
Schema is a representation of a protobuf schema.
Service represents a protocol buffer service.
Table represents a database table.

# Type aliases

EnumCollection represents a sortable collection of enums.
MessageCollection represents a sortable collection of messages.