models

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

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

Go to latest
Published: May 14, 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 Abuse

type Abuse struct {
	ID          uuid.UUID `pg:"abuse_id,type:uuid,pk,default:uuid_generate_v4()"`
	NoticeID    string    `pg:"notice_id"`
	Work        string    `pg:"work"`
	Filename    string    `pg:"filename"`
	Infohash    string    `pg:"infohash"`
	Description string    `pg:"description"`
	Email       string    `pg:"email"`
	Subject     string    `pg:"subject"`
	Cause       int       `pg:"cause"`
	Source      int       `pg:"source"`
	StartedAt   time.Time `pg:"started_at"`
	CreatedAt   time.Time `pg:",default:now()"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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