1.
If you say that time goes by , you mean that it passes.
My grandmother was becoming more and more sad and frail as the years went by.
= go on
PHRASAL VERB : V P
2.
If you go by something, you use it as a basis for a judgment or action.
If they prove that I was wrong, then I’ll go by what they say.
PHRASAL VERB : V P n