Documentation ¶
Overview ¶
Package persistence contains functions needed to serialize and deserialize the model data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadKnowledgeBase ¶
func LoadKnowledgeBase(fileName string) (*structs.GibberishData, error)
LoadKnowledgeBase loads the gibberish data model from disk.
func WriteKnowledgeBase ¶
func WriteKnowledgeBase(data *structs.GibberishData, outputFileName string) error
WriteKnowledgeBase writes the gibberish data model to disk.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.