Fix comment for godoc

This commit is contained in:
Asim
2015-12-01 18:45:52 +00:00
parent d02986d1bd
commit bf01feb2e3
2 changed files with 11 additions and 8 deletions

View File

@@ -70,10 +70,10 @@ func NewSubscriber(topic string, h interface{}) Subscriber {
// methods. Call to a service method such as Foo.Bar expects
// the type:
//
// type Foo struct {}
// func (f *Foo) Bar(ctx, req, rsp) error {
// return nil
// }
// type Foo struct {}
// func (f *Foo) Bar(ctx, req, rsp) error {
// return nil
// }
//
func NewHandler(h interface{}) Handler {
return DefaultServer.NewHandler(h)