Yes, it doesn’t look too serious, but you need to get that worked back inside before bacteria hits it. Once it’s back in, your gosling will be fine. Just monitor for awhile to make sure it stays in.
Keep it clean, and don’t let it dry out. Rinse with saline and gently massage it back inside. Don’t let it stay outside the body and dry up. THAT will be a problem. Monitor the gosling to ensure that it doesn’t come out again.