velodrome/fetcher/client.go
func (client *Client) CheckFlags() error {
	if client.Org == "" {
		return fmt.Errorf("organization flag must be set")
	}
	client.Org = strings.ToLower(client.Org)

	if client.Project == "" {
		return fmt.Errorf("project flag must be set")
	}
	client.Project = strings.ToLower(client.Project)

	return nil
}
func (client *Client) CheckFlags() error {
	if client.Org == "" {
		return fmt.Errorf("organization flag must be set")
	}
	client.Org = strings.ToLower(client.Org)

	if client.Project == "" {
		return fmt.Errorf("project flag must be set")
	}
	client.Project = strings.ToLower(client.Project)

	return nil
}
func ( client * Client ) CheckFlags ( ) error { if client . Org == " " { return fmt . Errorf ( " " ) } client . Org = strings . ToLower ( client . Org ) if client . Project == " " { return fmt . Errorf ( " " ) } client . Project = strings . ToLower ( client . Project ) return nil }
// CheckFlags looks for organization and project flags to configure the client
CheckFlags looks for organization and project flags to configure the client