frostfs-api-go/v2/session/test
Pavel Karpy 383edb1be4 [#307] v2/session/test: Do not allocate memory if !empty
Move all memory allocation and field settings
in `Generate...(empty bool)` functions behind
`if !empty` check. Do not create empty slices
if `empty == true`.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-16 10:12:50 +03:00
..
generate.go [#307] v2/session/test: Do not allocate memory if !empty 2021-06-16 10:12:50 +03:00