14 lines
245 B
Go
14 lines
245 B
Go
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)
|
|
}
|