Documentation
¶
Index ¶
Constants ¶
View Source
const WorkerRole = "worker"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func New ¶
func New(db *sqlx.DB) *Repository
func (*Repository) Create ¶
func (r *Repository) Create(publicId, fullName, position string) (*Account, error)
func (*Repository) ListWorkers ¶
func (r *Repository) ListWorkers() ([]Account, error)
Click to show internal directories.
Click to hide internal directories.