[#28] Replace interface{} with any

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
Anton Nikiforov 2023-05-15 17:25:04 +03:00
parent e9e7901f67
commit a3a5046ecc
8 changed files with 14 additions and 14 deletions

View file

@ -11,7 +11,7 @@ import (
)
// nolint:funlen
func serviceMessageBody(req interface{}) stableMarshaler {
func serviceMessageBody(req any) stableMarshaler {
switch v := req.(type) {
default:
panic(fmt.Sprintf("unsupported session message %T", req))