Information about Gomati Mantra is found in the Anusasana Parva of the Mahabharata. Sholka 42 of the chapter 81 of the section deals with the mantra. It is a mantra for obtaining the blessings of the cows.
The mantra is chanted standing in the midst of cows. It is believed that chanting the mantra will help in attaining peace, prosperity and healthy children.
Those women chanting the mantra will get loving husbands.