okr

package
v0.0.0-...-da91ef8 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func New

func New(fs field.Service, os okr.Service, us user.Service) *Controller

func (*Controller) CreateKeyResult

func (ctrl *Controller) CreateKeyResult(c *gin.Context)

新增 KeyResult

func (*Controller) CreateObjective

func (ctrl *Controller) CreateObjective(c *gin.Context)

新增 Objective

func (*Controller) DeleteKeyResult

func (ctrl *Controller) DeleteKeyResult(c *gin.Context)

删除 KeyResult

func (*Controller) DeleteObjective

func (ctrl *Controller) DeleteObjective(c *gin.Context)

删除 Objective

func (*Controller) ListOkrByUsernameAndMonths

func (ctrl *Controller) ListOkrByUsernameAndMonths(c *gin.Context)

func (*Controller) UpdateKeyResult

func (ctrl *Controller) UpdateKeyResult(c *gin.Context)

更新 KeyResult

func (*Controller) UpdateObjective

func (ctrl *Controller) UpdateObjective(c *gin.Context)

更新 Objective

Jump to

Keyboard shortcuts

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