persistence

package
v0.0.0-...-a2d4156 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: MIT Imports: 5 Imported by: 1

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.

Jump to

Keyboard shortcuts

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