* Hyperbole: This is a figure of speech that uses exaggeration for effect. You could say someone is "going nuts" as a way to exaggerate their state of excitement or frenzy.
* Metaphor: This is a figure of speech that makes a comparison between two unlike things. If someone is "going nuts" you could be using that to metaphorically describe them as being out of control or behaving irrationally.
* Idiom: This is a phrase that has a meaning that is different from the literal meaning of the words. "Going nuts" is a common idiom that means to be very excited or crazy.
Ultimately, the meaning of "going nuts" in a literary context would depend on the specific context and the author's intention.
Could you provide more information about the specific situation where you heard this phrase? That would help me determine the most likely literary term being used.