v1

package
v0.0.0-...-1cbb08c Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Get

type Get struct {
	Id       int64  `json:"id"`
	Username string `json:"username"`
}

type ListResponse

type ListResponse struct {
	Total int64          `json:"total"`
	Items []*entity.User `json:"items"`
}

type User

type User struct {
	UserUseCase usecase.IUserUseCase
}

func NewUserHandler

func NewUserHandler(
	userUseCase usecase.IUserUseCase,
) *User

func (*User) Create

func (u *User) Create(ctx *core.GinContext) error

func (*User) Get

func (u *User) Get(ctx *core.GinContext) error

func (*User) List

func (u *User) List(ctx *core.GinContext) error

type V1

type V1 struct {
	User *User
}

Jump to

Keyboard shortcuts

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