Documentation
¶
Index ¶
- Constants
- func WriteBashScript(w io.Writer)
- func WriteContents(w io.Writer, r io.Reader, title *value.Title, isNoTitle bool) error
- func WriteFirstCmdLineBlock(w io.Writer, r io.Reader, title *value.Title) error
- func WriteFirstURL(w io.Writer, r io.Reader, title *value.Title) error
- func WriteNoteLocation(w io.Writer, files []*os.File, title *value.Title) error
- func WriteTitles(w io.Writer, r io.Reader) error
- type NotesFiles
Constants ¶
View Source
const (
DefaultNotesFile = "fcnotes.md"
)
Variables ¶
This section is empty.
Functions ¶
func WriteBashScript ¶ added in v0.3.0
WriteBashScript writes bash script to set up fcqs.
func WriteContents ¶
WriteContents writes the contents of the note.
func WriteFirstCmdLineBlock ¶ added in v0.3.0
WriteFirstCmdLineBlock writes the first command-line block in the contents of the note.
func WriteFirstURL ¶
WriteFirstURL writes the first URL in the contents of the note.
func WriteNoteLocation ¶
WriteNoteLocation writes the file name and line number of the note.
Types ¶
type NotesFiles ¶ added in v0.4.0
NotesFiles represents notes files.
func OpenNotesFiles ¶ added in v0.4.0
func OpenNotesFiles() (*NotesFiles, error)
NewNOtesFiles returns NotesFiles instance.
Click to show internal directories.
Click to hide internal directories.