source

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abbreviate

func Abbreviate(s string) string

func BuildConnectionstring

func BuildConnectionstring(dbtype, server, database, username, password string) string

func IsConnectionTypeValid

func IsConnectionTypeValid(t string) bool

func SplitConnectionString

func SplitConnectionString(connectionString string) map[string]string

Types

type DatabaseOptimizer

type DatabaseOptimizer interface {
	RebuildIndexes()
}

type DefaultEntitiesTableRenderer

type DefaultEntitiesTableRenderer []models.Entity

func (*DefaultEntitiesTableRenderer) Header

func (d *DefaultEntitiesTableRenderer) Header() []string

func (*DefaultEntitiesTableRenderer) Rows

func (d *DefaultEntitiesTableRenderer) Rows() [][]string

type DescriptiveEntitiesRenderer

type DescriptiveEntitiesRenderer []models.Entity

func (*DescriptiveEntitiesRenderer) Header

func (d *DescriptiveEntitiesRenderer) Header() []string

func (*DescriptiveEntitiesRenderer) Rows

func (d *DescriptiveEntitiesRenderer) Rows() [][]string

type EntityNotFoundError

type EntityNotFoundError struct {
	Name string
}

func (*EntityNotFoundError) Error

func (e *EntityNotFoundError) Error() string

type RelationTreeBuilder

type RelationTreeBuilder struct {
	Items []RelationTreeItem
}

func (*RelationTreeBuilder) Build

func (tb *RelationTreeBuilder) Build() tree.Node

type RelationTreeItem

type RelationTreeItem struct {
	KeyName           string
	ParentID          int
	ID                int
	RelatedTable      string
	RelatedColumnName string
	TableName         string
	ColumnName        string
}

type SimpleEntitiesRenderer

type SimpleEntitiesRenderer []models.Entity

func (*SimpleEntitiesRenderer) Header

func (d *SimpleEntitiesRenderer) Header() []string

func (*SimpleEntitiesRenderer) Rows

func (d *SimpleEntitiesRenderer) Rows() [][]string

type SortTableByName

type SortTableByName []models.Entity

type SortTableById []Entity

func (SortTableByName) Len

func (a SortTableByName) Len() int

func (SortTableByName) Less

func (a SortTableByName) Less(i, j int) bool

func (SortTableByName) Swap

func (a SortTableByName) Swap(i, j int)

type SortTableByNameDesc

type SortTableByNameDesc []models.Entity

func (SortTableByNameDesc) Len

func (a SortTableByNameDesc) Len() int

func (SortTableByNameDesc) Less

func (a SortTableByNameDesc) Less(i, j int) bool

func (SortTableByNameDesc) Swap

func (a SortTableByNameDesc) Swap(i, j int)

type SortTableByRows

type SortTableByRows []models.Entity

func (SortTableByRows) Len

func (a SortTableByRows) Len() int

func (SortTableByRows) Less

func (a SortTableByRows) Less(i, j int) bool

func (SortTableByRows) Swap

func (a SortTableByRows) Swap(i, j int)

type SortTableByRowsDesc

type SortTableByRowsDesc []models.Entity

func (SortTableByRowsDesc) Len

func (a SortTableByRowsDesc) Len() int

func (SortTableByRowsDesc) Less

func (a SortTableByRowsDesc) Less(i, j int) bool

func (SortTableByRowsDesc) Swap

func (a SortTableByRowsDesc) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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