commit | 17847a8424c1d8517a098c4c378518028e9a145f | [log] [tgz] |
---|---|---|
author | Arda Güçlü <ardaguclu@gmail.com> | Wed Nov 20 22:29:10 2019 +0300 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Wed Nov 20 20:49:00 2019 +0000 |
tree | e1023c98b8e3593575e0e9c864fcd3992ab70f9f | |
parent | 688c506a55c1b3cd77849ad2e9879c7e87e0b715 [diff] |
txtar/archive: add unit test function for Format Unit test function TestFormat is added for Format in archive package. Moreover, Test method is renamed to TestParse, because it only tests Parse function. Change-Id: Ibd94fa7ada456ffcbcf1d02eb3a6c3beba5ba84d Reviewed-on: https://go-review.googlesource.com/c/tools/+/208177 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.