models

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 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 Note

type Note struct {
	Key        string    `json:"-"`
	Tag        string    `json:"tag,omitempty"`
	Title      string    `json:"title,omitempty"`
	Content    string    `json:"content"`
	LastUpdate time.Time `json:"lastUpdate"`
	Version    int       `json:"version"`
}

func (*Note) HumanReadableSize

func (n *Note) HumanReadableSize() string

func (*Note) Size

func (n *Note) Size() int

Jump to

Keyboard shortcuts

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