在Golang中,统一以驼峰式命名变量,首字母大写为公有变量(public),小写则为私有变量(private)。 1 2 3 4 5 6 7 8 9 10 11 12 13