Downloads:

1,049

Downloads of v 0.17.0:

54

Last Update:

19 Sep 2020

Package Maintainer(s):

Software Author(s):

  • Go Authors

Tags:

go debug debugger vscode vscode-go golang

Go VSCode Extension

0.17.0 | Updated: 19 Sep 2020

Downloads:

1,049

Downloads of v 0.17.0:

54

Maintainer(s):

Software Author(s):

  • Go Authors

Go VSCode Extension 0.17.0

This Package Contains an Exempted Check

1 Test Passing and 1 Exempted Test


Validation Testing Passed


Verification Testing Exempt:

Requires VS Code installation

To install Go VSCode Extension, run the following command from the command line or from PowerShell:

>

To upgrade Go VSCode Extension, run the following command from the command line or from PowerShell:

>

To uninstall Go VSCode Extension, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade vscode-go -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade vscode-go -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure vscode-go installed
  win_chocolatey:
    name: vscode-go
    state: present
    version: 0.17.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'vscode-go' do
  action    :install
  version  '0.17.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: vscode-go,
    Version: 0.17.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller vscode-go
{
   Name     = 'vscode-go'
   Ensure   = 'Present'
   Version  = '0.17.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'vscode-go':
  provider => 'chocolatey',
  ensure   => '0.17.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install vscode-go version="0.17.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 19 Sep 2020.

Description

This extension adds rich language support for the Go language to VS Code.

Features

screenshot

Notes

  • Additional Go tool setup is required to use this extension so follow the getting started instructions.
  • This package requires Visual Studio Code 1.46.0 or newer.
    You can install either the vscode or vscode-insiders package.
  • The extension will be installed in all editions of Visual Studio Code which can be found.
  • While this package installs a specific version of the extension, Visual Studio Code by default will update the extension to the latest version on startup if there's a newer version available on the marketplace.
    See Extension auto-update for instructions on how to disable auto-update.
  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

legal\LICENSE.txt
vscode-go

The MIT License (MIT)

Original Work Copyright (c) 2015-2020 Microsoft Corporation
Current Work and Modifications Copyright (c) 2020-present The Go Authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The Visual Code extension has been downloaded from the official Visual Studio Marketplace public gallery
and can be verified by:

1. Go to the Visual Studio Marketplace page for the extension

  https://marketplace.visualstudio.com/items?itemName=golang.Go

and download the extension golang.Go-0.17.0.vsix using the Download Extension link
in the Resources section of the sidebar.

Alternatively the package can be downloaded directly from

  https://marketplace.visualstudio.com/_apis/public/gallery/publishers/golang/vsextensions/Go/0.17.0/vspackage

2. The extension can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash golang.Go-0.17.0.vsix
  - Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f golang.Go-0.17.0.vsix

  Type:     sha256
  Checksum: 9F10FB73D37E26F8F6506CF95FF1950464699D8D8C487E99B8848389A9725E82

  File LICENSE.txt is obtained from https://marketplace.visualstudio.com/items/golang.Go/license
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Install-VsCodeExtension -extensionId "$toolsDir\golang.Go-0.17.0.vsix"
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

Uninstall-VsCodeExtension -extensionId 'golang.Go'
tools\golang.Go-0.17.0.vsix
md5: 179544FEAB70229F6C2622574C081A98 | sha1: C5D197C2AD522D546AE780A99EB36FFA94560FBB | sha256: 9F10FB73D37E26F8F6506CF95FF1950464699D8D8C487E99B8848389A9725E82 | sha512: 055F9B1950893ACB7EFC1DE04ED82AC1EAFAF2929B8F90B554DE762F4A014EEDC5286642E6A350963637C71CB1C342179A3AC611A02DE1A388D431E6677F3E97

Log in or click on link to see number of positives.

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.

Version Downloads Last Updated Status
Go VSCode Extension 0.16.2 64 Thursday, September 3, 2020 Approved
Go VSCode Extension 0.16.1 100 Friday, August 7, 2020 Approved
Go VSCode Extension 0.16.0 33 Tuesday, August 4, 2020 Approved
Go VSCode Extension 0.15.2 51 Thursday, July 23, 2020 Approved
Go VSCode Extension 0.15.1 63 Wednesday, July 8, 2020 Approved
Go VSCode Extension 0.15.0 56 Tuesday, June 30, 2020 Approved
Go VSCode Extension 0.14.4 59 Saturday, June 20, 2020 Approved
Go VSCode Extension 0.14.3 90 Friday, May 22, 2020 Approved
Go VSCode Extension 0.14.2 41 Thursday, May 14, 2020 Approved
Discussion for the Go VSCode Extension Package

Ground Rules:

  • This discussion is only about Go VSCode Extension and the Go VSCode Extension 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 VSCode Extension, 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