mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-17 23:43:43 +08:00
golangci-lint run
This commit is contained in:
@@ -32,8 +32,8 @@ func GenLabel(basic string, appendId int64) string {
|
||||
}
|
||||
|
||||
// GetIdLabel 获取指定Id的树标签
|
||||
func GetIdLabel(Id int64) string {
|
||||
return fmt.Sprintf("%v%v%v", treeBeginCut, Id, treeEndCut)
|
||||
func GetIdLabel(id int64) string {
|
||||
return fmt.Sprintf("%v%v%v", treeBeginCut, id, treeEndCut)
|
||||
}
|
||||
|
||||
// GetIds 获取上级ID集合
|
||||
|
Reference in New Issue
Block a user