config/plan.go
Method Plan.AddStage
has 6 return statements (exceeds 4 allowed). Open
Open
func (p *Plan) AddStage(stage *Stage) error {
if stage.BeforeStage != "" && stage.AfterStage != "" {
return fmt.Errorf(
"before_stage and after_stage declared in %s/%s",
p.Name,
exported method Plan.AddStage should have comment or be unexported Open
Open
func (p *Plan) AddStage(stage *Stage) error {
- Exclude checks
exported method Plan.Clone should have comment or be unexported Open
Open
func (p *Plan) Clone() *Plan {
- Exclude checks
exported type Plan should have comment or be unexported Open
Open
type Plan struct {
- Exclude checks
exported method Plan.StageIndex should have comment or be unexported Open
Open
func (p *Plan) StageIndex(name string) int {
- Exclude checks
exported method Plan.Merge should have comment or be unexported Open
Open
func (p *Plan) Merge(child *Plan) error {
- Exclude checks
exported method Plan.InsertStage should have comment or be unexported Open
Open
func (p *Plan) InsertStage(stage *Stage, index int) {
- Exclude checks