Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

Go programming language

1.10.2

Package test results are passing.

This package was approved as a trusted package on 7/5/2018.

Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.

To install Go programming language, run the following command from the command line or from PowerShell:

C:\> choco install golang

To upgrade Go programming language, run the following command from the command line or from PowerShell:

C:\> choco upgrade golang

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = 'golang'
    $url = 'https://dl.google.com/go/go1.10.2.windows-386.zip'
    $checksum = '0bb12875044674d632d1f1b2f53cf33510a6df914178fe672f3f70f6f6cdf80d'
    $url64 = 'https://dl.google.com/go/go1.10.2.windows-amd64.zip'
    $checksum64 = '0fb4a893796e8151c0b8d0a3da4ed8cbb22bf6d98a3c29c915be4d7083f146ee'
    
    Get-ToolsLocation
    $tools = $env:ChocolateyToolsLocation
    $goroot = Join-Path "$tools" 'go'
    $gorootBin = Join-Path "$goroot" 'bin'
    if (Test-Path "$goroot") {
      Remove-Item "$goroot" -Recurse
    }
    
    Install-ChocolateyZipPackage -PackageName "$packageName" -Url "$url" -UnzipLocation "$tools" -Url64bit "$url64" -Checksum "$checksum" -ChecksumType 'sha256' -Checksum64 "$checksum64" -ChecksumType64 'sha256'
    
    Install-ChocolateyEnvironmentVariable -VariableName 'GOROOT' -VariableValue "$goroot" -VariableType 'Machine'
    Install-ChocolateyPath -PathToInstall "$gorootBin" -PathType 'Machine'
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    Uninstall-ChocolateyEnvironmentVariable -VariableName 'GOROOT' -VariableType 'Machine'

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Robert Griesemer
  • Rob Pike
  • Ken Thompson

Tags

Release Notes

Release notes for Go are available at https://golang.org/doc/devel/release.html

Version History

Version Downloads Last updated Status
Go programming language 1.10.1 5995 Friday, March 30, 2018 approved
Go programming language 1.10.0 5828 Sunday, February 18, 2018 approved
Go programming language 1.9.6 68 Tuesday, May 1, 2018 approved
Go programming language 1.9.5 70 Friday, March 30, 2018 approved
Go programming language 1.9.4 3013 Thursday, February 8, 2018 approved
Go programming language 1.9.3 708 Tuesday, February 6, 2018 approved
Go programming language 1.9.2 10801 Wednesday, November 15, 2017 approved
Go programming language 1.9.0 7634 Friday, August 25, 2017 approved
Go programming language 1.8.7 86 Thursday, February 8, 2018 approved
Show More

Discussion for the Go programming language Package

Ground rules:

  • This discussion is only about Go programming language and the Go programming language package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Go programming language, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok