func (q *DetailQuery) RunsForPlatform(platform string) bool {
	if len(q.Platforms) == 0 {
		return true
	}
	for _, p := range q.Platforms {
		if p == platform {
			return true
		}
	}
	return false
}
// RunsForPlatform determines whether this detail query should run on the given platform
RunsForPlatform determines whether this detail query should run on the given platform
// RunsForPlatform determines whether this detail query should run on the given platform
func (q *DetailQuery) RunsForPlatform(platform string) bool {
	if len(q.Platforms) == 0 {
		return true
	}
	for _, p := range q.Platforms {
		if p == platform {
			return true
		}
	}
	return false
}
func ( q * DetailQuery ) RunsForPlatform ( platform string ) bool { if len ( q . Platforms ) == 0 { return true } for _ , p := range q . Platforms { if p == platform { return true } } return false }
RunsForPlatform determines whether this detail query should run on the given platform
RunsForPlatform determines whether this detail query should run on the given platform