From c58742d1863136ea3711fe4073be6c1664d8da8c Mon Sep 17 00:00:00 2001 From: nxshock Date: Sat, 2 Jul 2022 15:09:59 +0500 Subject: [PATCH] Fix tags --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index 5cdf154..22b3c45 100644 --- a/config.go +++ b/config.go @@ -10,10 +10,10 @@ import ( // Config represents configuration type Config struct { - ListenAddr string `default:":80" validate:"required` + ListenAddr string `default:":80" validate:"required"` // Mb - BufferSize uint `default:"32" validate:"required|min:1` + BufferSize uint `default:"32" validate:"required|min:1"` // Kb Bitrate uint `default:"32" validate:"required|min:8|max:320"`