storage

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPerson

type IPerson interface {
	storage.Table[Person]

	// add here custom queries
	GetByName(ctx context.Context, name string) (Person, error)
}

IPerson -

type Person

type Person struct {
	ID    uint64
	Name  string
	Phone string
	// contains filtered or unexported fields
}

Person -

func (Person) TableName

func (Person) TableName() string

TableName -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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