In a bowl combine onion, cilantro, garlic and avocado. Mash to preferred consistency (personally I like it pretty smooth). Stir in lime juice and voila!