From abd5eee3922b18a25ba59bb5a5d59a969ab5deb9 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 16 Nov 2021 18:00:47 +0100 Subject: [mod] Tools to install and maintain golang [1] binaries & packages. [1] https://golang.org/doc/devel/release#policy A simple *helloworld* test with user 'my_user' : sudo -H adduser my_user ./manage go.golang go1.17.3 my_user ./manage go.install github.com/go-training/helloworld@latest my_user ./manage go.bash my_user $ helloword Hello World!! Don't forget to remove 'my_user': sudo -H deluser --remove-home my_user Signed-off-by: Markus Heiser --- manage | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manage') diff --git a/manage b/manage index 0c7b04fb8..b61b4a19b 100755 --- a/manage +++ b/manage @@ -9,6 +9,9 @@ source "$(dirname "${BASH_SOURCE[0]}")/utils/lib.sh" # shellcheck source=utils/lib_static.sh source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_static.sh" +# shellcheck source=utils/lib_go.sh +source "$(dirname "${BASH_SOURCE[0]}")/utils/lib_go.sh" + # config PYOBJECTS="searx" @@ -91,6 +94,7 @@ themes.: pygments.: less : build LESS files for pygments EOF + go.help static_help } -- cgit v1.2.3-54-g00ecf