Skip to content

doc: adding godoc style comments for APIs #9

doc: adding godoc style comments for APIs

doc: adding godoc style comments for APIs #9

Triggered via push September 28, 2024 17:12
Status Failure
Total duration 33s
Artifacts

main.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

18 errors
test: pkg/cpuInfo_test.go#L184
cannot use (*spyCpuLoader)(nil) (value of type *spyCpuLoader) as Loader value in variable declaration: *spyCpuLoader does not implement Loader (missing method load)
test: pkg/cpuInfo_test.go#L185
cannot use &spyCpuLoader{} (value of type *spyCpuLoader) as Loader value in argument to getCpuInfo: *spyCpuLoader does not implement Loader (missing method load)
test: pkg/memInfo_test.go#L25
cannot use (*spyMemLoader)(nil) (value of type *spyMemLoader) as Loader value in variable declaration: *spyMemLoader does not implement Loader (missing method load)
test: pkg/memInfo_test.go#L26
cannot use &spyMemLoader{} (value of type *spyMemLoader) as Loader value in argument to getMemInfo: *spyMemLoader does not implement Loader (missing method load)
test: pkg/procInfo_test.go#L27
cannot use (*spyProcLoader)(nil) (value of type *spyProcLoader) as Loader value in variable declaration: *spyProcLoader does not implement Loader (missing method load)
test: pkg/procInfo_test.go#L28
cannot use &spyProcLoader{} (value of type *spyProcLoader) as Loader value in argument to getProcessList: *spyProcLoader does not implement Loader (missing method load)
test: pkg/procInfo_test.go#L41
cannot use (*spyProcLoader)(nil) (value of type *spyProcLoader) as Loader value in variable declaration: *spyProcLoader does not implement Loader (missing method load)
test: pkg/procInfo_test.go#L42
cannot use &spyProcLoader{} (value of type *spyProcLoader) as Loader value in argument to getProcessDetails: *spyProcLoader does not implement Loader (missing method load)
test
Process completed with exit code 1.
golangci: pkg/cpuInfo_test.go#L184
cannot use (*spyCpuLoader)(nil) (value of type *spyCpuLoader) as Loader value in variable declaration: *spyCpuLoader does not implement Loader (missing method load)
golangci: pkg/cpuInfo_test.go#L185
cannot use &spyCpuLoader{} (value of type *spyCpuLoader) as Loader value in argument to getCpuInfo: *spyCpuLoader does not implement Loader (missing method load)
golangci: pkg/memInfo_test.go#L25
cannot use (*spyMemLoader)(nil) (value of type *spyMemLoader) as Loader value in variable declaration: *spyMemLoader does not implement Loader (missing method load)
golangci: pkg/memInfo_test.go#L26
cannot use &spyMemLoader{} (value of type *spyMemLoader) as Loader value in argument to getMemInfo: *spyMemLoader does not implement Loader (missing method load)
golangci: pkg/procInfo_test.go#L27
cannot use (*spyProcLoader)(nil) (value of type *spyProcLoader) as Loader value in variable declaration: *spyProcLoader does not implement Loader (missing method load)
golangci: pkg/procInfo_test.go#L28
cannot use &spyProcLoader{} (value of type *spyProcLoader) as Loader value in argument to getProcessList: *spyProcLoader does not implement Loader (missing method load)
golangci: pkg/procInfo_test.go#L41
cannot use (*spyProcLoader)(nil) (value of type *spyProcLoader) as Loader value in variable declaration: *spyProcLoader does not implement Loader (missing method load)
golangci: pkg/procInfo_test.go#L42
cannot use &spyProcLoader{} (value of type *spyProcLoader) as Loader value in argument to getProcessDetails: *spyProcLoader does not implement Loader (missing method load)
golangci
issues found