14 lines
245 B
Go
Raw Normal View History

2019-06-03 09:32:43 +00:00
package arn
import "github.com/aerogo/api"
// Force interface implementations
var (
_ api.Savable = (*DraftIndex)(nil)
)
// Save saves the index in the database.
func (index *DraftIndex) Save() {
DB.Set("DraftIndex", index.UserID, index)
}