Skip to content

feat:cloudmind-content.file基本完成 #20

feat:cloudmind-content.file基本完成

feat:cloudmind-content.file基本完成 #20

Triggered via pull request January 18, 2024 07:57
Status Failure
Total duration 38s
Artifacts

static-analysis.yml

on: pull_request
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

10 errors
run (linux-amd64-fmt): biz/infrastructure/convertor/convertor.go#L1
: # github.com/CloudStriver/cloudmind-content/biz/infrastructure/convertor
run (linux-amd64-fmt): biz/infrastructure/convertor/convertor.go#L13
cannot use in.Sex (variable of type int64) as int32 value in struct literal
run (linux-amd64-fmt): biz/infrastructure/convertor/convertor.go#L30
cannot use in.GetSex() (value of type int32) as int64 value in struct literal (typecheck)
run (linux-amd64-fmt): biz/infrastructure/util/convertor/convertor.go#L1
: # github.com/CloudStriver/cloudmind-content/biz/infrastructure/util/convertor
run (linux-amd64-fmt): biz/infrastructure/util/convertor/convertor.go#L70
cannot use data.IsDel (variable of type int32) as int64 value in struct literal
run (linux-amd64-fmt): biz/infrastructure/util/convertor/convertor.go#L96
cannot use IsExpired(data.CreateAt, data.EffectiveTime) (value of type int64) as content.Status value in struct literal
run (linux-amd64-fmt): biz/infrastructure/util/convertor/convertor.go#L97
cannot use data.EffectiveTime (variable of type int64) as int32 value in struct literal
run (linux-amd64-fmt): biz/infrastructure/util/convertor/convertor.go#L121
cannot use data.EffectiveTime (variable of type int32) as int64 value in struct literal
run (linux-amd64-fmt): biz/infrastructure/util/convertor/convertor.go#L130
cannot use IsExpired(data.CreateAt, data.EffectiveTime) (value of type int64) as content.Status value in struct literal
run (linux-amd64-fmt): biz/infrastructure/util/convertor/convertor.go#L144
cannot use opts.OnlyFileType (variable of type *int32) as *int64 value in struct literal