alias

package
v0.0.0-...-8e41c16 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFieldAlias

func NewFieldAlias(tableAlias, alias string) string

generate an alias for fields.AliasField

Types

type Generator

type Generator struct {
	Prefix string
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator() *Generator

func (*Generator) Clone

func (a *Generator) Clone() *Generator

func (*Generator) GetFieldAlias

func (a *Generator) GetFieldAlias(tableAlias, alias string) string

generate an alias for fields.AliasField

func (*Generator) GetTableAlias

func (a *Generator) GetTableAlias(currentTable string, chainorKey any) string

Jump to

Keyboard shortcuts

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