usecases

package
v0.0.0-...-5e2e8f1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlterTechnologyDisplayInput

type AlterTechnologyDisplayInput struct {
	ID      string `json:"id"`
	Display bool   `json:"display"`
}

type AlterTechnologyDisplayOutput

type AlterTechnologyDisplayOutput struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Src     string `json:"src"`
	Display bool   `json:"display"`
}

type AlterTechnologyDisplayUseCase

type AlterTechnologyDisplayUseCase struct {
	TechnologyRepository repositories.TechnologiesRepositoryInterface
}

func NewAlterTechnologyDisplayUseCase

func NewAlterTechnologyDisplayUseCase(technologyRepository repositories.TechnologiesRepositoryInterface) *AlterTechnologyDisplayUseCase

func (*AlterTechnologyDisplayUseCase) Execute

type CreateTechnologyUseCase

type CreateTechnologyUseCase struct {
	TechnologyRepository repositories.TechnologiesRepositoryInterface
}

func NewCreateTechnologyUseCase

func NewCreateTechnologyUseCase(technologyRepository repositories.TechnologiesRepositoryInterface) *CreateTechnologyUseCase

func (*CreateTechnologyUseCase) Execute

type ListTechnologiesOutput

type ListTechnologiesOutput struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Src     string `json:"src"`
	Display bool   `json:"display"`
}

type ListTechnologiesUseCase

type ListTechnologiesUseCase struct {
	TechnologyRepository repositories.TechnologiesRepositoryInterface
}

func NewListTechnologiesUseCase

func NewListTechnologiesUseCase(technologyRepository repositories.TechnologiesRepositoryInterface) *ListTechnologiesUseCase

func (*ListTechnologiesUseCase) Execute

type TechnologyInput

type TechnologyInput struct {
	Name    string `json:"name" example:"Go"`      // tech name
	Src     string `json:"src" example:"go.png"`   // tech icon file name
	Display bool   `json:"display" example:"true"` // whether it will be displayed on the skills page
}

type TechnologyOutput

type TechnologyOutput struct {
	ID      string `json:"id"`
	Name    string `json:"name"`
	Src     string `json:"src"`
	Display bool   `json:"display"`
}

Jump to

Keyboard shortcuts

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