apache / apache/openwhisk-wskdeploy

rename Set* to set* in manifestreader.go

Open
#330 0 comments 0 reactions 0 assignees View on GitHub
priority: low
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

There are few set methods in [manifestreader.go](https://github.com/apache/incubator-openwhisk-wskdeploy/blob/master/deployers/manifestreader.go) which only have single usage inside the same manifestreader.go file. There is no need to export following methods outside of deployer package. Rename them to set* to mark it as unexported.

SetDependencies to setDependencies
SetPackage to setPackage
SetActions to setActions
SetSequences to setSequences
SetTriggers to setTriggers
SetRules to setRules
SetApis to setApis

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.