Started working on character patch

This commit is contained in:
Eduard Urbach 2017-11-14 13:53:40 +01:00
parent 3e0c777d64
commit 91e8537e9e

View File

@ -0,0 +1,23 @@
package main
import (
"github.com/animenotifier/arn"
)
// Character ...
type Character struct {
ID string `json:"id"`
Name string `json:"name"`
Image string `json:"image"`
Description string `json:"description"`
Attributes []*arn.CharacterAttribute `json:"attributes"`
}
func main() {
defer arn.Node.Close()
// Overwrite existing type
arn.DB.RegisterTypes((*Character)(nil))
// characters := arn.AllCharacters()
}