inputhistorystore

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

func NewInputHistoryStore

func NewInputHistoryStore(ws *workspaces.Workspace) *Store

func (*Store) Items

func (as *Store) Items(ctx context.Context, category string) ([]string, error)

Items returns all items from a category ordered by the time

func (*Store) PutItem

func (as *Store) PutItem(ctx context.Context, category string, item string) error

Jump to

Keyboard shortcuts

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