From 70dff2aed734af2cf7c2f407ab23ad179730519f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B0=D1=80=D1=83=D1=81=D0=BE=D0=B2=20=D0=9F=D0=B0?= =?UTF-8?q?=D0=B2=D0=B5=D0=BB=20=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B5=D0=B2?= =?UTF-8?q?=D0=B8=D1=87?= Date: Thu, 16 Jan 2025 15:59:46 +0300 Subject: [PATCH] MSP-4622 schema tags --- conf/remote.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/remote.go b/conf/remote.go index 19509f4..437cbdf 100644 --- a/conf/remote.go +++ b/conf/remote.go @@ -17,11 +17,11 @@ func init() { } type Remote struct { - LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"` - Scripts []ScriptDefinition - CustomScripts []ScriptDefinition - SharedScript string - ScriptExecutionTimeoutMs int `validate:"required"` + LogLevel log.Level `schemaGen:"logLevel" schema:"Уровень логирования"` + Scripts []ScriptDefinition `schemaGen:"scripts" schema:"Скрипты"` + CustomScripts []ScriptDefinition `schemaGen:"customScripts" schema:"Кастомные скрипты"` + SharedScript string `schema:"Общий скрипт"` + ScriptExecutionTimeoutMs int `validate:"required" schema:"Время выполнения скрипта"` } type ScriptDefinition struct {