domain

package
v0.0.0-...-fb83055 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID        string    `json:"id" bson:"_id"`
	FirstName string    `json:"first_name" bson:"first_name"`
	Roles     []string  `json:"roles" bson:"roles"`
	CreatedAt time.Time `bson:"created_at"`
}

type UserFilter

type UserFilter struct {
	Name   string `json:"name"`
	Role   string `json:"role"`
	SortBy string `json:"sort_by"`
	pagination.Pagination
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL