models

package
v0.0.0-...-0d2eb9b Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	ID         int64
	OwnerID    int64
	Access     ListAccess
	Title      string
	RevisionID int64
	Items      []ListItem
}

type ListAccess

type ListAccess int
const (
	PublicAccess ListAccess = iota
	LinkAccess
	PrivateAccess
)

func ListAccessFromString

func ListAccessFromString(s string) ListAccess

func (ListAccess) String

func (a ListAccess) String() string

type ListItem

type ListItem struct {
	ID      int64
	Title   string
	Desc    string
	TakenBy *int64
}

type User

type User struct {
	ID   int64
	Name string

	Fname string
	Lname string

	PassHash []byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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