Skip to content

Instantly share code, notes, and snippets.

@fedir
Last active April 19, 2024 12:06
Show Gist options
  • Select an option

  • Save fedir/c1e2531a5add831864939589b7cee6e7 to your computer and use it in GitHub Desktop.

Select an option

Save fedir/c1e2531a5add831864939589b7cee6e7 to your computer and use it in GitHub Desktop.

Revisions

  1. fedir revised this gist Jan 4, 2019. 2 changed files with 11 additions and 3 deletions.
    4 changes: 2 additions & 2 deletions golang.bashrc
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    export GOROOT=/usr/local/go
    export PATH=${GOROOT}/bin:${PATH}
    export GOPATH=$HOME/go
    export PATH=${GOPATH}/bin:${PATH}
    export GOROOT=/usr/local/go
    export PATH=${GOROOT}/bin:${PATH}
    10 changes: 9 additions & 1 deletion install.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,12 @@
    1. rm -rf /usr/local/go/
    2. Download iOS installer
    3. Install
    4. Add path variables into Your .profile
    4. Add path variables into Your .profile

    # On Linux Mint, Ubuntu, Debian

    GOVER="1.11.4"
    GOOS="linux"
    GOARCH="amd64"
    wget https://dl.google.com/go/go${GOVER}.${GOOS}-${GOARCH}.tar.gz
    tar -C /usr/local -xzf go${GOVER}.${GOOS}-${GOARCH}.tar.gz
  2. fedir revised this gist Jan 27, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions install.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # On iOS
    # On macOS

    1. rm -rf /usr/local/bin/
    1. rm -rf /usr/local/go/
    2. Download iOS installer
    3. Install
    4. Add path variables into Your .profile
  3. fedir revised this gist Jan 27, 2018. No changes.
  4. fedir revised this gist Jan 27, 2018. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions install.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    # On iOS

    1. rm -rf /usr/local/bin/
    2. Download iOS installer
    3. Install
    4. Add path variables into Your .profile
  5. fedir revised this gist Jan 27, 2018. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion golang.bashrc
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,3 @@
    mkdir $HOME/go
    export GOPATH=$HOME/go
    export PATH=${GOPATH}/bin:${PATH}
    export GOROOT=/usr/local/go
  6. fedir revised this gist Jan 27, 2018. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions golang.bashrc
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    mkdir $HOME/go
    export GOPATH=$HOME/go
    export PATH=${GOPATH}/bin:${PATH}
    export GOROOT=/usr/local/go
    export PATH=${GOROOT}/bin:${PATH}
    export PATH=${GOPATH}/bin:${PATH}
    export PATH=${GOROOT}/bin:${PATH}
  7. fedir revised this gist Jan 27, 2018. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions golang.bashrc
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    export GOPATH=$HOME/go
    export GOROOT=/usr/local/go
    export PATH=${GOROOT}/bin:${PATH}
    #export GOPATH=${HOME}/other_src/gopath # typical value change at will
    export GOPATH=$HOME/go
    export PATH=${GOPATH}/bin:${PATH}
  8. fedir revised this gist Jan 5, 2018. No changes.
  9. fedir renamed this gist Jan 4, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  10. fedir created this gist Jan 4, 2018.
    5 changes: 5 additions & 0 deletions .bashrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    export GOROOT=/usr/local/go
    export PATH=${GOROOT}/bin:${PATH}
    #export GOPATH=${HOME}/other_src/gopath # typical value change at will
    export GOPATH=$HOME/go
    export PATH=${GOPATH}/bin:${PATH}