note

package
v0.0.0-...-8c91fe2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Insert

func Insert(ctx context.Context, newN NewNote) error

Types

type NewNote

type NewNote struct {
	Title string
	Text  string
}

type Note

type Note struct {
	Id        uint64
	Title     string
	Text      string
	UpdatedAt time.Time
	CreatedAt time.Time
}

func Find

func Find(ctx context.Context, id uint64) (Note, error)

Jump to

Keyboard shortcuts

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