Fix "deprecated" function godoc comments to match standard formatting (#2027)

This commit is contained in:
Chyroc
2018-05-02 23:52:50 +08:00
committed by dfawley
parent e538e04cad
commit f8dbc38bdc
19 changed files with 107 additions and 94 deletions

View File

@ -226,7 +226,9 @@ func RPCDecompressor(dc Decompressor) ServerOption {
}
// MaxMsgSize returns a ServerOption to set the max message size in bytes the server can receive.
// If this is not set, gRPC uses the default limit. Deprecated: use MaxRecvMsgSize instead.
// If this is not set, gRPC uses the default limit.
//
// Deprecated: use MaxRecvMsgSize instead.
func MaxMsgSize(m int) ServerOption {
return MaxRecvMsgSize(m)
}