tests

package
v0.0.0-...-a7d8d75 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	Path string `gorm:"primaryKey" json:"path"`
	MIME string
}

func (*Attachment) AfterCreate

func (a *Attachment) AfterCreate(*gorm.DB) error

type User

type User struct {
	gorms.Model[int64]

	FacePath string     `json:"-"`
	Face     Attachment `json:"face"`

	PendantPath string     `json:"-"`
	Pendant     Attachment `json:"pendant"`
}

Jump to

Keyboard shortcuts

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