Skip to content

Commit 63087f0

Browse files
committed
fix: 不显示Echo框架banner
1 parent 45f4b78 commit 63087f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/builder/engine.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ func New(config *Config) *Engine {
7777
// 初始化echo引擎
7878
e := echo.New()
7979

80+
// 隐藏banner
81+
e.HideBanner = true
82+
8083
// 初始化数据库
8184
if config.DBConfig != nil {
8285
dal.InitDB(config.DBConfig.Dialector, config.DBConfig.Opts)

0 commit comments

Comments
 (0)