Attributive use of the noun, as in 'goodie bag'.
Attributive: containing or intended as treats, gifts, or promotional incentives. Each child received a goodie bag at the end of the party.
Variant spelling of the exclamatory 'goody', used mainly in informal speech.
Used to express pleasure, excitement, or delight. Goodie! We're finally going on vacation.