From c7a7790e1d8b6fa8c0b97a731b1289b365f4fa73 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sat, 6 Apr 2024 21:19:56 +0200 Subject: [PATCH] add `pub` access modifier to publicly used struct fields --- api/api.v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/api.v b/api/api.v index b172732a..f0c6d9cc 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 }