From e6e3df17fa94cd1e1b782e7e2d0929238d8028cc Mon Sep 17 00:00:00 2001 From: yanghao05 Date: Thu, 27 Apr 2023 18:39:24 +0800 Subject: [PATCH] fix KeyConst --- providers/jwt/config.go | 2 +- providers/log/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/jwt/config.go b/providers/jwt/config.go index f352913..84ff4de 100644 --- a/providers/jwt/config.go +++ b/providers/jwt/config.go @@ -6,7 +6,7 @@ import ( "github.com/rogeecn/atom/providers/log" ) -const DefaultKeyPrefix = "JWT" +const DefaultPrefix = "JWT" type Config struct { SigningKey string // jwt签名 diff --git a/providers/log/config.go b/providers/log/config.go index b58c6c3..642fff0 100644 --- a/providers/log/config.go +++ b/providers/log/config.go @@ -1,6 +1,6 @@ package log -const DefaultKeyPrefix = "Log" +const DefaultPrefix = "Log" type Config struct { Level Level