1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00

update README about golang 1.8 is required.

This commit is contained in:
WAKAYAMA Shirou 2017-05-01 22:31:41 +09:00
parent c251591dc7
commit ad1f130d0f

View File

@ -14,27 +14,22 @@ This is a port of psutil (http://pythonhosted.org/psutil/). The challenge is por
psutil functions on some architectures. psutil functions on some architectures.
.. highlights:: Breaking Changes! Breaking Changes! golang 1.8 is required
-------------------------------------------
Breaking changes is introduced at v2. See `issue 174 <https://github.com/shirou/gopsutil/issues/174>`_ . After v2.17.04, golang 1.8 is required to build.
Migrating to v2
-------------------------
On gopsutil itself, `v2migration.sh <https://github.com/shirou/gopsutil/blob/v2/v2migration.sh>`_ is used for migration. It can not be commonly used, but it may help you with migration.
Tag semantics Tag semantics
^^^^^^^^^^^^^^^ -------------------------
gopsutil tag policy is almost same as Semantic Versioning, but automatically increase like Ubuntu versioning. gopsutil tag policy is almost same as Semantic Versioning, but automatically increase like Ubuntu versioning.
for example, `v2.16.10` means for example, `v2.17.04` means
- v2: major version - v2: major version
- 16: release year, 2016 - 17: release year, 2017
- 10: release month - 04: release month
gopsutil aims to keep backwards-compatiblity until major version change. gopsutil aims to keep backwards-compatiblity until major version change.