use BufWritePost,FileWritePost events for golint