Fix comment for godoc
This commit is contained in:
parent
d02986d1bd
commit
bf01feb2e3
@ -7,8 +7,11 @@ import (
|
|||||||
// Handler interface represents a Service request handler. It's generated
|
// Handler interface represents a Service request handler. It's generated
|
||||||
// by passing any type of public concrete object with methods into server.NewHandler.
|
// by passing any type of public concrete object with methods into server.NewHandler.
|
||||||
// Most will pass in a struct.
|
// Most will pass in a struct.
|
||||||
|
//
|
||||||
// Example:
|
// Example:
|
||||||
|
//
|
||||||
// type Service struct {}
|
// type Service struct {}
|
||||||
|
//
|
||||||
// func (s *Service) Method(context, request, response) error {
|
// func (s *Service) Method(context, request, response) error {
|
||||||
// return nil
|
// return nil
|
||||||
// }
|
// }
|
||||||
|
Loading…
Reference in New Issue
Block a user