From 32ef7a70971089c1e60a00f6b3607b2b5330f330 Mon Sep 17 00:00:00 2001 From: Maxim Merzhanov Date: Mon, 1 Feb 2021 11:22:08 +0300 Subject: [PATCH] update config schema --- conf/remoteConfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/remoteConfig.go b/conf/remoteConfig.go index f75c7c5..8a098bd 100644 --- a/conf/remoteConfig.go +++ b/conf/remoteConfig.go @@ -14,5 +14,5 @@ type RemoteConfig struct { type UIConfig struct { Name string - PrimaryColor string `valid:"in(|#FF7373|#A5EF00)"` + PrimaryColor string `schema:"Цвет в HEX, примеры: #ff4d4f #fa8c16 #a0d911 #1890ff #722ed1 #d4b106 #e91e63 #ff5722 #795548 #abb8c3 #525252 #689f38"` }