add docstrings

This commit is contained in:
2025-01-02 15:27:53 +01:00
parent 7798930145
commit 7ca4016294
3 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
package data
// TODO docstring
// Defines the first layer of abstraction on the interface to a persistent data
// store. This may be a file or database.
type IDatastore interface {
Set(key string, val string) error
KeyExists(key string) (bool, error)