From 3881009eb661615b315d5f62e62600258f0ad947 Mon Sep 17 00:00:00 2001 From: Habib Fatkhul Rohman Date: Sat, 25 Oct 2025 01:36:22 +0700 Subject: [PATCH] feat: Add DTO structures for User, Role, and Client responses --- pkg/dto/response.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkg/dto/response.go diff --git a/pkg/dto/response.go b/pkg/dto/response.go new file mode 100644 index 0000000..0612d35 --- /dev/null +++ b/pkg/dto/response.go @@ -0,0 +1,18 @@ +package dto + +type ( + UserResponse struct { + ID string `json:"id"` + Name string `json:"name"` + } + + RoleResponse struct { + ID string `json:"id"` + Name string `json:"name"` + } + + ClientResponse struct { + ID string `json:"id"` + Name string `json:"name"` + } +)