Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetFactFromURL = getFactFromURL // Set function as variable for easier testing
Functions ¶
func GenerateFact ¶
func GenerateFact(instance *tacomoev1alpha1.CatFact) error
func GenerateIconName ¶
func GenerateIconName(instance *tacomoev1alpha1.CatFact) error
Return a random IconName
func ProcessCatFact ¶
func ProcessCatFact(instance *tacomoev1alpha1.CatFact) error
Types ¶
type CatFactNinjaAPIResponse ¶
Click to show internal directories.
Click to hide internal directories.