internal

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MaxNextDuration float64 = float64(time.Hour * 24 * 365 * 100) // 100 years.

All the keywords that concards treats special.

View Source
const MaxYesNoStreak = 1 << 29 // About 500 million

Variables

This section is empty.

Functions

func AssertError

func AssertError(s string)

func AssertLogic

func AssertLogic(condition bool, message string)

Types

type Config added in v0.9.0

type Config struct {
	// The various true or false options
	IsVersion  bool
	IsReview   bool
	IsMemorize bool
	IsDone     bool
	IsPrint    bool
	IsFileList bool
	IsStream   bool

	Editor      string
	Number      int
	PredictFile string
	OutcomeFile string
	Files       []string
}

type Hash

type Hash [16]byte

func NewHash

func NewHash(str string) (h Hash)

func (Hash) String

func (h Hash) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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