Skip to content

Commit

Permalink
go/vcs: add package comment
Browse files Browse the repository at this point in the history
According to https://golang.org/doc/effective_go.html#commentary,
"Every package should have a package comment."

Updates golang/go#11490.

GitHub-Last-Rev: 8dd80d0
GitHub-Pull-Request: #22
Change-Id: Ia3af83cc68bcde12c37492ad240031aecf6934a3
Reviewed-on: https://go-review.googlesource.com/93081
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
dmitshur authored and bradfitz committed Feb 14, 2018
1 parent 7374a09 commit a4ae709
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions go/vcs/vcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package vcs exposes functions for resolving import paths
// and using version control systems, which can be used to
// implement behavior similar to the standard "go get" command.
//
// This package is a copy of internal code in package cmd/go/internal/get,
// modified to make the identifiers exported. It's provided here
// for developers who want to write tools with similar semantics.
// It needs to be manually kept in sync with upstream when changes are
// made to cmd/go/internal/get; see https://golang.org/issues/11490.
//
package vcs // import "golang.org/x/tools/go/vcs"

import (
Expand Down

0 comments on commit a4ae709

Please sign in to comment.