From 53179f2076d9c675b92e8041b5ecf802d76131bd Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Tue, 9 Apr 2024 13:15:45 +0200 Subject: [PATCH] add `pub` access modifier to publicly used struct fields (#263) --- api/api.v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/api.v b/api/api.v index b172732..f0c6d9c 100644 --- a/api/api.v +++ b/api/api.v @@ -1,16 +1,19 @@ module api pub struct ApiErrorResponse { +pub: success bool message string } pub struct ApiResponse { +pub: success bool message string } pub struct ApiSuccessResponse[T] { +pub: success bool result T } -- 2.39.5