func CreateEntry(entry *Entry) string { uid, _ := uuid.NewV4() id := uid.String() StoreEntry(id, entry) index.Index(id, entry.AsPlaintext()) return id }
func UpdateEntry(id string, entry *Entry) { StoreEntry(id, entry) index.Index(id, entry.AsPlaintext()) }