deleting

package
v0.0.0-...-43fa908 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	gorm.Model
	Name string
}

Task defines the properties of a task to be added

type TaskAPI

type TaskAPI struct {
	TaskService TaskService
}

func (*TaskAPI) Delete

func (t *TaskAPI) Delete(c *gin.Context)

type TaskRepository

type TaskRepository interface {
	Delete(id uint)
}

type TaskService

type TaskService interface {
	Delete(id uint)
}

func ProvideTaskService

func ProvideTaskService(t TaskRepository) TaskService

Jump to

Keyboard shortcuts

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