EXCLUSIVEThe guy who played Goldberg the Goalie in "The Mighty Ducks" is accused of trying to PEE on his ex-girlfriend ... after allegedly punching her in the face ... this according to legal docs obtained by TMZ.
Goldberg's ex Sonja Dimitrievska filed docs in L.A. this week asking a judge to grant her a restraining order against the 90's star -- real name Shaun Weiss -- claiming he beat the crap out of her several times during their 2-year relationship.
In the docs, Sonja says the final straw was back in April ... when she came home to a drunken Goldberg who threatened to kill her and pull her eyes out.
Sonja says she left for a few hours to let him cool off ... but claims Goldberg was in her bed holding a machete when she returned home -- and proceeded to sock her in the face.
Sonja says she ran away to hide in a nearby bedroom ... but Goldberg broke the door down and tried peeing on her while saying "this is all you're worth."
But here's where things take a turn -- Sonja says GOLDBERG called the cops ... and when they got to the scene, they arrested HER.
There's more -- the judge eventually DENIED Sonja's temporary request for a restraining order against Goldberg ... and has ordered a hearing for Dec. 17th to discuss the matter in depth.
We tried reaching out to Goldberg ... but he had no comment.