mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
Merge pull request #1330 from Lomanic/macos-ci-update
Update README with /v3 godoc links and remove deprecated macos-10.15 virtual environment in CI
This commit is contained in:
commit
a1701dcb73
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go-version: ${{fromJson(needs.go-versions.outputs.versions)}}
|
||||
os: [ubuntu-20.04, ubuntu-18.04, windows-2019, macOS-10.15, macos-11]
|
||||
os: [ubuntu-20.04, ubuntu-18.04, windows-2019, macos-11]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install Go
|
||||
|
12
README.md
12
README.md
@ -1,21 +1,21 @@
|
||||
# gopsutil: psutil for golang
|
||||
|
||||
[](https://github.com/shirou/gopsutil/actions/workflows/test.yml) [](https://coveralls.io/github/shirou/gopsutil?branch=master) [](https://pkg.go.dev/github.com/shirou/gopsutil)
|
||||
[](https://github.com/shirou/gopsutil/actions/workflows/test.yml) [](https://coveralls.io/github/shirou/gopsutil?branch=master) [](https://pkg.go.dev/github.com/shirou/gopsutil/v3) [](https://godocs.io/github.com/shirou/gopsutil/v3) [](https://calver.org/)
|
||||
|
||||
This is a port of psutil (https://github.com/giampaolo/psutil). The
|
||||
challenge is porting all psutil functions on some architectures.
|
||||
|
||||
## v3 migration
|
||||
|
||||
from v3.20.10, gopsutil becomes v3 which breaks backwards compatibility.
|
||||
See [v3Changes.md](_tools/v3migration/v3Changes.md) more detail changes.
|
||||
From v3.20.10, gopsutil becomes v3 which breaks backwards compatibility.
|
||||
See [v3Changes.md](_tools/v3migration/v3Changes.md) for more detailed changes.
|
||||
|
||||
## Tag semantics
|
||||
|
||||
gopsutil tag policy is almost same as Semantic Versioning, but
|
||||
automatically increase like Ubuntu versioning.
|
||||
automatically increases like [Ubuntu versioning](https://calver.org/).
|
||||
|
||||
for example, v2.17.04 means
|
||||
For example, v2.17.04 means
|
||||
|
||||
- v2: major version
|
||||
- 17: release year, 2017
|
||||
@ -95,7 +95,7 @@ You can set an alternative location to `/proc/N/mountinfo` by setting the
|
||||
|
||||
## Documentation
|
||||
|
||||
see http://godoc.org/github.com/shirou/gopsutil
|
||||
See https://pkg.go.dev/github.com/shirou/gopsutil/v3 or https://godocs.io/github.com/shirou/gopsutil/v3
|
||||
|
||||
## Requirements
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user