Get go version from go.mod

No need to update multiple places when bumping the go version.
This commit is contained in:
pagedown
2023-02-11 20:33:08 +08:00
parent 64fe9f82ed
commit 3c7df680cf
4 changed files with 15 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ Run-time dependencies:
Build-time dependencies:
* ``gcc`` or ``clang``
* ``go >= 1.20`` (see :file:`go.mod` for go packages used during building)
* ``go`` >= _build_go_version (see :file:`go.mod` for go packages used during building)
* ``pkg-config``
* For building on Linux in addition to the above dependencies you might also
need to install the following packages, if they are not already installed by