domain

package
v0.0.0-...-c955e10 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubTask

type SubTask struct {
	ID           SubTaskID
	TaskID       TaskID
	UserID       UserID
	Title        string
	Description  string
	RegisteredAt time.Time
}

type SubTaskID

type SubTaskID string

type Task

type Task struct {
	ID           TaskID
	UserID       UserID
	Title        string
	Description  string
	StoryPoint   *int
	RegisteredAt time.Time
}

type TaskID

type TaskID string

type TaskType

type TaskType int
const (
	Story TaskType = iota
	Kaizen
	Bug
)

type User

type User struct {
	ID   UserID
	Name string
}

type UserID

type UserID string

func (UserID) String

func (i UserID) String() string

type UserRepository

type UserRepository interface {
	Get(ctx context.Context, id UserID) (*User, error)
	List(ctx context.Context) (*User, error)
}

Jump to

Keyboard shortcuts

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