1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-28 03:57:02 +02:00
jesse.tang 0ecc2b422f
style: modify declaring empty slices (#2378)
* fix: modify declaring empty slices

declare an empty slice to var s []int replace s :=[]int{}, https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices

* fix lint
2022-09-27 23:14:29 +08:00
..
2022-05-22 21:18:46 +08:00