forked from TrueCloudLab/frostfs-api-go
[#28] Replace interface{} with any
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
e9e7901f67
commit
a3a5046ecc
8 changed files with 14 additions and 14 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue