Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterRepos ¶
func FilterRepos(repos []*github.Repository) []*github.Repository
FilterRepos returns a new array of repo structs that only has non-archived repos
func GetRepos ¶
func GetRepos(githubOrganization string) ([]*github.Repository, error)
GetRepos retrieves the repo data and places it into an array
func Transform ¶
func Transform(repos []*github.Repository) ([]map[string]interface{}, error)
Transform takes in an array of repo structs and transforms it into an array of repo maps with attributes as strings
func ValidateInputFields ¶
ValidateInputFields takes the module input flag string, splits it by comma, and then checks to make sure each data type exists in the Repository struct
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.