since Go 1.18 'interface{}' can be replaced by 'any' #1224
Annotations
10 errors and 1 warning
lint:
cpu/cpu.go#L15
could not import github.com/shirou/gopsutil/v4/internal/common (-: could not load export data: no export data for "github.com/shirou/gopsutil/v4/internal/common") (typecheck)
|
lint:
disk/disk.go#L8
could not import github.com/shirou/gopsutil/v4/internal/common (-: could not load export data: no export data for "github.com/shirou/gopsutil/v4/internal/common") (typecheck)
|
lint:
docker/docker.go#L9
could not import github.com/shirou/gopsutil/v4/internal/common (-: could not load export data: no export data for "github.com/shirou/gopsutil/v4/internal/common") (typecheck)
|
lint:
docker/docker_linux.go#L114
ret.CPU undefined (type *CgroupCPUStat has no field or method CPU) (typecheck)
|
lint:
docker/docker_linux.go#L120
ret.User undefined (type *CgroupCPUStat has no field or method User) (typecheck)
|
lint:
docker/docker_linux.go#L126
ret.System undefined (type *CgroupCPUStat has no field or method System) (typecheck)
|
lint:
docker/docker_linux_test.go#L53
v.CPU undefined (type *CgroupCPUStat has no field or method CPU) (typecheck)
|
lint:
host/host.go#L12
could not import github.com/shirou/gopsutil/v4/internal/common (-: could not load export data: no export data for "github.com/shirou/gopsutil/v4/internal/common") (typecheck)
|
lint:
load/load.go#L7
could not import github.com/shirou/gopsutil/v4/internal/common (-: could not load export data: no export data for "github.com/shirou/gopsutil/v4/internal/common") (typecheck)
|
lint:
mem/mem.go#L7
could not import github.com/shirou/gopsutil/v4/internal/common (-: could not load export data: no export data for "github.com/shirou/gopsutil/v4/internal/common") (typecheck)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|