Documentation
¶
Index ¶
- func IsUpSchema(r *Record) bool
- type Column
- type Index
- type Record
- type Schema
- type SchemaReader
- func (r *SchemaReader) JSON() ([]byte, error)
- func (r *SchemaReader) Read(ctx context.Context) error
- func (r *SchemaReader) Save(ctx context.Context, re *Record) error
- func (r *SchemaReader) Schema(ctx context.Context) (*Schema, error)
- func (r *SchemaReader) Version() (string, error)
- func (r *SchemaReader) Yaml() ([]byte, error)
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUpSchema ¶
Types ¶
type Record ¶
type SchemaReader ¶
type SchemaReader struct {
// contains filtered or unexported fields
}
func New ¶
func New(conn *db.DB) *SchemaReader
func (*SchemaReader) JSON ¶
func (r *SchemaReader) JSON() ([]byte, error)
func (*SchemaReader) Version ¶
func (r *SchemaReader) Version() (string, error)
func (*SchemaReader) Yaml ¶
func (r *SchemaReader) Yaml() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.