diarygo

package module
v0.0.0-...-ac35dbe Latest Latest
Warning

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

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

README

Diary Icon

diarygo

Diary is a personal journal written in Go that stores entries in S P A C E.

Diary provides two interfaces; a Command Line Interface, and a Graphical User Interface written with the Fyne toolkit.

Command Line

Installation

go get -tags release aletheiaware.com/diarygo/cmd/diary

Usage

Diary Usage:
    diary - display usage
    diary add - add a new diary entry from stdin
    diary add [file] - add a new diary entry from file
    diary list - display all entries
    diary show - display latest entry
    diary show [id] - display entry with given id

GUI

Diary Locked GUI Screenshot

Diary Add GUI Screenshot

Installation

go get fyne.io/fyne/v2/fyne
fyne get aletheiaware.com/diarygo/cmd/diaryfyne

Usage

diaryfyne

Documentation

Index

Constants

View Source
const (
	DiaryName = "Diary"
	DiaryMime = spacego.MIME_TYPE_TEXT_PLAIN
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Diary

type Diary interface {
	Add(bcgo.Node, io.Reader) (string, error)
	Clear()
	Length() int
	FindID(string) string
	ID(int) string
	Meta(string) *spacego.Meta
	Timestamp(string) uint64
	Refresh(bcgo.Node) error
}

func NewDiary

func NewDiary(c spaceclientgo.SpaceClient) Diary

type MetaFilter

type MetaFilter struct{}

func (*MetaFilter) Filter

func (f *MetaFilter) Filter(m *spacego.Meta) bool

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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