Versions in this module Expand all Collapse all v1 v1.0.1 Aug 11, 2020 Changes in this version + type Computer struct + Brand string + Model string + ProductNo string + Remark string + func NewComputer() *Computer + func (c *Computer) AddRemark(remark string) error + func (c Computer) GetProductNo() string v1.0.0 Aug 7, 2019 Changes in this version + type BaseFlow struct + CreateAt string + DeleteAt string + FlowName string + FlowType int + Id int + LastUpdateUser string + Remark string + Status int + UpdateAt string + func (bf *BaseFlow) Add() error + func (bf *BaseFlow) Del(idList []string) error + func (bf *BaseFlow) Query() ([]Flow, error) + func (bf *BaseFlow) Update() error + type ConcreteFlow struct + DataList []string + TaskId string + func NewConcreteFlow(flowType, status int, flowName string) *ConcreteFlow + func (cf *ConcreteFlow) Add() error + type Flow interface + Add func() error + Del func([]string) error + Query func() ([]Flow, error) + Update func() error