create

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMilestone

type CreateMilestone struct {
	// contains filtered or unexported fields
}

func NewCreateMilestone

func NewCreateMilestone(config CreateMilestoneConfig) *CreateMilestone

func (CreateMilestone) Execute

func (cm CreateMilestone) Execute() error

type CreateMilestoneConfig

type CreateMilestoneConfig struct {
	Description string
	DueDate     *time.Time
	Title       string
}

type Flags

type Flags struct {
	Description string
	DueDate     *time.Time
	Title       string
}

type Survey

type Survey struct {
	// contains filtered or unexported fields
}

func NewSurvey

func NewSurvey(flags Flags) *Survey

func (Survey) Ask

func (s Survey) Ask() (SurveyAnswers, error)

type SurveyAnswers

type SurveyAnswers struct {
	Confirm     bool
	Description string
	DueDate     time.Time
	Title       string
}

Jump to

Keyboard shortcuts

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