From 7c08d039f8c873b2b28f682528999b6e5e1c2afc Mon Sep 17 00:00:00 2001 From: raul Date: Thu, 13 Jun 2024 09:22:49 +0200 Subject: [PATCH] Add Bulk struct for bulk actions --- cmd/structs.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/structs.go b/cmd/structs.go index 2a38346..cf9e783 100644 --- a/cmd/structs.go +++ b/cmd/structs.go @@ -38,3 +38,7 @@ type Response struct { Successful bool Message string } + +type Bulk struct { + ClientIDs []int `form:"clients[]"` +}