good for you—(non-predicative) used as an expression of approval:
- You’re not about to lay cash on the line without decent answers to a question or two. Good for you.
good of you—(predicative) used in approval of smb.’s kind or generous act:
- It was very good of you to help Harry with his bike. I’m proud of you.