Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttrOption ¶
type AttrOption struct { Attr string Value interface{} }
type ModelBuilder ¶
type ModelBuilder[T interface{}] struct {
// contains filtered or unexported fields
}
func (*ModelBuilder[T]) AddAttr ¶
func (mb *ModelBuilder[T]) AddAttr(attr string, value interface{}) *ModelBuilder[T]
func (*ModelBuilder[T]) GetMap ¶
func (mb *ModelBuilder[T]) GetMap() map[string]interface{}
for others
func (*ModelBuilder[T]) GetSlice ¶
func (mb *ModelBuilder[T]) GetSlice() []AttrOption
Click to show internal directories.
Click to hide internal directories.