Made all types implement Identifiable

This commit is contained in:
2019-09-09 09:18:34 +09:00
parent 8bfb1e0b4d
commit 85bd1441a6
4 changed files with 20 additions and 0 deletions

View File

@ -7,6 +7,11 @@ import (
"github.com/aerogo/api"
)
// Force interface implementations
var (
_ Identifiable = (*Inventory)(nil)
)
// Actions
func init() {
API.RegisterActions("Inventory", []*api.Action{