common

package
v0.0.0-...-a90012b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadResponse

func BadResponse(ctx *gin.Context, msg string)

func SuccessResponse

func SuccessResponse(ctx *gin.Context, msg string)

Types

type SkillCreationInput

type SkillCreationInput struct {
	Name string `json:"name"`
}

func NewSkillCreationInput

func NewSkillCreationInput() *SkillCreationInput

type SkillGroupCreationInput

type SkillGroupCreationInput struct {
	Name string `json:"name"`
}

func NewSkillGroupCreationInput

func NewSkillGroupCreationInput() *SkillGroupCreationInput

type SkillGroupUpdateInput

type SkillGroupUpdateInput struct {
	Name   string `json:"name"`
	Skills []int  `json:"skills"`
}

func NewSkillGroupUpdateInput

func NewSkillGroupUpdateInput() *SkillGroupUpdateInput

type SkillUpdateInput

type SkillUpdateInput struct {
	Name string `json:"name"`
}

func NewSkillUpdateInput

func NewSkillUpdateInput() *SkillUpdateInput

type UserCreationInput

type UserCreationInput struct {
	FullName string `json:"fullName"`
	Email    string `json:"email"`
}

func NewUserCreationInput

func NewUserCreationInput() *UserCreationInput

type UserUpdateInput

type UserUpdateInput struct {
	FullName string `json:"fullName"`
	Email    string `json:"email"`
}

func NewUserUpdateInput

func NewUserUpdateInput() *UserUpdateInput

Jump to

Keyboard shortcuts

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