tasks

package
v0.0.0-...-1d2c3bc Latest Latest
Warning

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

Go to latest
Published: Dec 20, 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 Task

type Task struct {
	models.Model
	Name   string      `gorm:"column:name;not null;" json:"name" form:"name"`
	Text   string      `gorm:"column:text;not null;" json:"text" form:"text"`
	UserID uint64      `gorm:"column:user_id;unique_index:user_id;not null;" json:"user_id" form:"user_id"`
	User   models.User `json:"user"`
}

func (*Task) BeforeCreate

func (m *Task) BeforeCreate() error

func (*Task) BeforeUpdate

func (m *Task) BeforeUpdate() error

Jump to

Keyboard shortcuts

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