Skip to content

Commit

Permalink
Merge pull request #196 from Gua-tk/195_golang_improve
Browse files Browse the repository at this point in the history
195 golang improve
  • Loading branch information
AleixMT authored Mar 23, 2024
2 parents 4b9cd2b + 543e35b commit bb72c21
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions data/features/go/go.dat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ go_description="google programming language"
go_version="1.17.linux-amd64"
go_systemcategories=("Languages")
go_tags=("search" "customDesktop")
go_downloadkeys=("bundle")
go_bundle_URL="https://golang.org/dl/go1.17.linux-amd64.tar.gz"
go_bundle_downloadPath="/usr/local"
go_flagsoverride="0;;;;;" # Install always as root

go_downloadKeys=("bundle")
go_bundle_URL="https://go.dev/dl/go1.22.1.linux-amd64.tar.gz"
go_bashinitializations=("go.sh")
go_binariesinstalledpaths=("bin/go;go" "bin/gofmt;gofmt")
5 changes: 3 additions & 2 deletions data/features/go/go.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash

export GOPATH="€{HOME_FOLDER}/goWorkspace"
export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin"
export GOPATH="€{HOME_FOLDER}/go"
export GOROOT="€{CURRENT_INSTALLATION_FOLDER}"
#export PATH="$PATH:/usr/local/go/bin:$GOPATH/bin"

0 comments on commit bb72c21

Please sign in to comment.