Don't stifle your grief - Let it out and don't be afraid to cry if it takes you that way. But, as several others have posted, dwell more on the good times you shared.
The funeral, whatever form it takes, will offer you closure - You will never forget your close friend but he/she would want you to continue enjoying your life.
I speak from lots of experience including the death of a son.