entity

package
v0.0.0-...-c9c8c44 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category struct {
	ID        uint32
	CreatedAt time.Time
	UpdatedAt time.Time

	Name   string
	UserID uint32
	// contains filtered or unexported fields
}

func (*Category) GetSlug

func (c *Category) GetSlug() string

func (*Category) SetSlug

func (c *Category) SetSlug(slug string)

type Task

type Task struct {
	ID          uint32
	CreatedAt   time.Time
	UpdatedAt   time.Time
	UUID        string
	Name        string
	Description string
	Done        bool
	Category    Category
	UserID      uint32
}

type User

type User struct {
	ID        uint32
	CreatedAt time.Time
	UpdatedAt time.Time
	UUID      string
	Name      string
	Email     string
}

Jump to

Keyboard shortcuts

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