From 3a449c4d0d1b9d366f09fdc96ade5399b1e184fc Mon Sep 17 00:00:00 2001 From: Akulij Date: Tue, 25 Mar 2025 11:56:18 +0800 Subject: [PATCH] lint: align config field types --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 019d65c..39e7c99 100644 --- a/config/config.go +++ b/config/config.go @@ -8,7 +8,7 @@ import ( ) type Config struct { - BotToken string `env:"BOTTOKEN, required"` + BotToken string `env:"BOTTOKEN, required"` AdminPass string `env:"ADMINPASSWORD, required"` // to activate admin privileges in bot type command: /secret `AdminPass` AdminID *int64 `env:"ADMINID"` // optional admin ID for notifications }