infrastructure

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryRepository

func NewQueryRepository(engine *xorm.Engine) application.QueryRepository

func NewRepository

func NewRepository(engine *xorm.Engine, mediator mediator.Mediator) domain.Repository

Types

type UserDO added in v0.2.0

type UserDO struct {
	ID        string             `xorm:"id pk"`
	Name      string             `xorm:"name"`
	Password  []byte             `xorm:"password" copier:"HashedPassword"`
	Email     string             `xorm:"email"`
	Version   int                `xorm:"version"`
	CreatedAt database.Timestamp `xorm:"created_at"`
	UpdatedAt database.Timestamp `xorm:"updated_at"`
	DeletedAt database.Timestamp `xorm:"deleted_at"`
}

func (UserDO) TableName added in v0.2.0

func (u UserDO) TableName() string

Jump to

Keyboard shortcuts

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