The past tense of go by the book is went by the book.
The third-person singular simple present indicative form of go by the book is goes by the book.
The present participle of go by the book is going by the book.
The past participle of go by the book is gone by the book.