Browse Source

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

rigormorrtiss 4 năm trước cách đây
mục cha
commit
d7c0fbb303
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,
 	}