Created
March 28, 2022 15:56
-
-
Save johnpena/9fabb3e370b8b8c63f413bef84774930 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// filepath server/server.go | |
package server | |
type Server struct {} | |
// filepath server/foo/subserver.go | |
package foo | |
type subserver struct { | |
server.Server | |
} | |
func (s *subserver) FooRPC() { | |
} | |
// filepath server/bar/subserver.go | |
package bar | |
type subserver struct { | |
server.Server | |
} | |
func (s *subserver) BarRPC() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment