Documentation ¶ Index ¶ type API func NewAPI(config entity.Config, sql *sqlite.SQLite) *API func (a *API) ChangeEntity(items, condition map[string]any, operation string) error func (a *API) GetEntity(conditional map[string]any) (*entity.User, error) func (a *API) ListEntity() ([]*entity.User, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type API ¶ type API struct { // contains filtered or unexported fields } func NewAPI ¶ func NewAPI( config entity.Config, sql *sqlite.SQLite, ) *API func (*API) ChangeEntity ¶ func (a *API) ChangeEntity(items, condition map[string]any, operation string) error ChangeEntity - entity operations func (*API) GetEntity ¶ func (a *API) GetEntity(conditional map[string]any) (*entity.User, error) GetEntity user func (*API) ListEntity ¶ func (a *API) ListEntity() ([]*entity.User, error) ListEntity users Source Files ¶ View all Source files base.go common.go sqlite.go Click to show internal directories. Click to hide internal directories.