entity

package
v0.0.0-...-23c201c Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MethodMaps

type MethodMaps map[string][]any

func Load

func Load(models []string) (tableMethods MethodMaps)

Load ...

type Querier

type Querier interface {
	// SELECT * FROM @@table WHERE id = @id
	GetByID(id int) (gen.T, error)

	// SELECT * FROM @@table
	FindAll() ([]gen.T, error)

	// SELECT * FROM @@table LIMIT 1
	FindOne() gen.T
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳