修改changelog信息和deepsource问题
This commit is contained in:
parent
23d191da9a
commit
b159750ef4
@ -1,6 +1,6 @@
|
|||||||
# developing
|
# developing
|
||||||
|
|
||||||
- Add: Convenient way to generate mock object [4620](https://github.com/beego/beego/issues/4397)
|
- Add: Convenient way to generate mock object [4620](https://github.com/beego/beego/issues/4620)
|
||||||
- Infra: use dependabot to update dependencies. [4623](https://github.com/beego/beego/pull/4623)
|
- Infra: use dependabot to update dependencies. [4623](https://github.com/beego/beego/pull/4623)
|
||||||
- Lint: use golangci-lint. [4619](https://github.com/beego/beego/pull/4619)
|
- Lint: use golangci-lint. [4619](https://github.com/beego/beego/pull/4619)
|
||||||
- Chore: format code. [4615](https://github.com/beego/beego/pull/4615)
|
- Chore: format code. [4615](https://github.com/beego/beego/pull/4615)
|
||||||
|
|||||||
@ -78,7 +78,7 @@ func mock(pv reflect.Value) (err error) {
|
|||||||
|
|
||||||
// mock slice value
|
// mock slice value
|
||||||
func mockSlice(tagValue string, pvv reflect.Value) (err error) {
|
func mockSlice(tagValue string, pvv reflect.Value) (err error) {
|
||||||
if len(tagValue) == 0 {
|
if tagValue == "" {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
sliceMetas := strings.Split(tagValue, ":")
|
sliceMetas := strings.Split(tagValue, ":")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user