package
Version:
v0.0.0-...-1d10eb6
Opens a new window with list of versions in this module.
Published: Jun 30, 2023
License: MIT, MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
creating a new "notes" table if it doesn't already exist
for deleting a note from the "notes" table
dropping the "notes" table if it exists (for testing or smth idk)
Insert a new note to the "notes" table
to update the note that exists, when edit and save the note, this runs (essentially the save button function)
type Note struct {
Id int `sql:"id"`
Name string `sql:"name"`
Content string `sql:"content"`
LastUpdated time.Time `sql:"last_updated"`
}
get a single note and display its contents (to be available for editing)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.