ソースを参照

refactor(util): omit type & use short-hand assignment

rigormorrtiss 4 年 前
コミット
d7c0fbb303
1 ファイル変更1 行追加1 行削除
  1. 1 1
      util/config.go

+ 1 - 1
util/config.go

@@ -22,7 +22,7 @@ func NewConfig() *Config {
 		panic(err)
 	}
 
-	var c Config = Config{
+	c := Config{
 		Mouse:            true,
 		GetMessagesLimit: 50,
 	}