Fix all the golint complaints about newly added changes

Do not use func(this *server), such generic names should not be used
for writing struct methods.
This commit is contained in:
Harshavardhana
2015-09-17 18:53:40 -07:00
parent 9e7e00e270
commit 1887114444
6 changed files with 37 additions and 21 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func getRPCHandler() http.Handler {
s.RegisterService(new(rpc.VersionService), "Version")
s.RegisterService(new(rpc.DonutService), "Donut")
s.RegisterService(new(rpc.AuthService), "Auth")
s.RegisterService(rpc.NewServerService(), "Server")
s.RegisterService(new(rpc.ServerService), "Server")
// Add new RPC services here
return registerRPC(router.NewRouter(), s)
}