step

package
v1.3.57 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertStep

func InsertStep(step Step) (int, error)

func InsertSteps

func InsertSteps(steps []Step) error

func RemoveStep

func RemoveStep(stepID int) error

func UpdateStep

func UpdateStep(step Step) error

Types

type Step

type Step struct {
	ID            *int       `json:"id"`
	PoolID        *int       `json:"poolId"`
	ParentStepId  *int       `json:"parentStepId"`
	Name          string     `json:"name"`
	UUID          string     `json:"uuid"`
	AlternateName string     `json:"alternateName"`
	StartDate     *time.Time `json:"startDate"`
	EndDate       *time.Time `json:"endDate"`
	Description   string     `json:"description"`
	ActionTypeID  *int       `json:"actionTypeId"`
	FunctionName  string     `json:"functionName"`
	StepOrder     *int       `json:"stepOrder"`
	CreatedBy     string     `json:"createdBy"`
	CreatedAt     time.Time  `json:"createdAt"`
	UpdatedBy     string     `json:"updatedBy"`
	UpdatedAt     time.Time  `json:"updatedAt"`
}

func GetStartAndEndDateDiffSteps

func GetStartAndEndDateDiffSteps(diffInDate int) ([]Step, error)

func GetStep

func GetStep(stepID int) (*Step, error)

func GetSteps

func GetSteps(ids []int) ([]Step, error)

func GetStepsByUUIDs

func GetStepsByUUIDs(UUIDList []string) ([]Step, error)

func GetStepsFromPoolID added in v1.0.3

func GetStepsFromPoolID(poolID *int) ([]Step, error)

func GetTopTenStrategies

func GetTopTenStrategies() ([]Step, error)

Jump to

Keyboard shortcuts

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