Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureRequestBot ¶
type FeatureRequestBot struct {
// contains filtered or unexported fields
}
FeatureRequestBot fetches feature requests that are: - have state open - are older than 60 days - do not have a linked PR
func NewFeatureRequestBot ¶
func NewFeatureRequestBot(apiToken string, owner string, repo string) *FeatureRequestBot
NewFeatureRequestBot creates the bot with your GitHub api key and github repo details
func (*FeatureRequestBot) GetStaleFeatureRequests ¶
func (frb *FeatureRequestBot) GetStaleFeatureRequests(optParams ...string) ([]*github.Issue, error)
GetStaleFeatureRequests return an array of stale feature requests
func (*FeatureRequestBot) PrintStaleFeatureRequestsAsCSV ¶
func (frb *FeatureRequestBot) PrintStaleFeatureRequestsAsCSV() error
PrintStaleFeatureRequestsAsCSV prints out the stale feature requests with fmt To create a CSV From the cmd line: go run cmd/main.go -apiToken=xxx > /tmp/stalefrs.csv
Click to show internal directories.
Click to hide internal directories.