user

package
v2.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(tx *gorm.DB, user any) error

func Get

func Get(tx *gorm.DB, query any, args ...any) (*model.User, error)

func Update

func Update(tx *gorm.DB, id uint, values map[string]any) (int64, error)

Types

type Query

type Query struct {
	UserId uint `schema:"user_id"`
}

Jump to

Keyboard shortcuts

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