Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect()
Needed before calling other JUGo-functions. Sets up:
(1) .env-File (creates one, if not-existant) and sets DEFAULTFILENAME for the jug.json-File
(2) the data-directory and jug.json-File in which the Jugs will be stored
func Delete ¶
func Delete(id string)
Delete removes the Jug correlating to the given id from the json-File
func Edit ¶
Edit rewrites data correlating to the given id to the json-File
Internally Edit is just Save preceeded by a Delete of the previous entry correlating to the given id
Types ¶
Click to show internal directories.
Click to hide internal directories.