task

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TableName = "task"
)

Variables

This section is empty.

Functions

func Delete

func Delete(where map[string]interface{}) error

func Insert

func Insert(data *Task) error

func Update

func Update(where, data map[string]interface{}) error

Types

type Task

type Task struct {
	TaskID   int64 `gorm:"primaryKey"`
	Describe string
	UserID   int64
	SecretID int64
	Kind     int
	Spec     string
}

func Find

func Find(where map[string]interface{}) ([]Task, error)

Jump to

Keyboard shortcuts

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