package model type Custimizable interface { GetProperties() []Value } type CustomozableBase struct { Properties []Value `bson:"properties" json:"properties"` } func (c *CustomozableBase) GetProperties() []Value { return c.Properties }