Versions in this module Expand all Collapse all v1 v1.1.1 Oct 30, 2021 v1.1.0 Oct 25, 2021 Changes in this version + func InitEvent(dis event.Dispatcher) queue.InitFunc + type Event struct + Action string + Variable *Variable + func (ev *Event) Name() string + func (ev *Event) Perform() error v1.0.0 Apr 20, 2021 Changes in this version + func LoadRelations(loaders *database.Loaders, vv ...*Variable) error + func Model(vv []*Variable) func(int) database.Model + type Form struct + Key string + Value string + Variables *Store + func (f Form) Fields() map[string]string + func (f Form) Validate() error + type Store struct + Namespace *namespace.Namespace + User *user.User + func NewStore(db *sqlx.DB, mm ...database.Model) *Store + func (s *Store) All(opts ...query.Option) ([]*Variable, error) + func (s *Store) Bind(mm ...database.Model) + func (s *Store) Chown(from, to int64) error + func (s *Store) Create(authorId int64, key, val string) (*Variable, error) + func (s *Store) Delete(ids ...int64) error + func (s *Store) Get(opts ...query.Option) (*Variable, error) + func (s *Store) Index(vals url.Values, opts ...query.Option) ([]*Variable, database.Paginator, error) + func (s *Store) Load(key string, vals []interface{}, load database.LoaderFunc) error + func (s *Store) New() *Variable + func (s *Store) Paginate(page int64, opts ...query.Option) (database.Paginator, error) + type Variable struct + Author *user.User + AuthorID int64 + CreatedAt time.Time + ID int64 + Key string + Namespace *namespace.Namespace + NamespaceID sql.NullInt64 + User *user.User + UserID int64 + Value string + func FromContext(ctx context.Context) (*Variable, bool) + func (v *Variable) Bind(mm ...database.Model) + func (v *Variable) Endpoint(uri ...string) string + func (v *Variable) IsZero() bool + func (v *Variable) JSON(addr string) map[string]interface{} + func (v *Variable) Primary() (string, int64) + func (v *Variable) SetPrimary(i int64) + func (v *Variable) Values() map[string]interface{}