Go method for router