Skip to content

Commit

Permalink
Remove defercheck. Closes #6; closes #21; closes #22; closes #23
Browse files Browse the repository at this point in the history
  • Loading branch information
opennota committed Nov 18, 2015
1 parent af1876a commit aa37591
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 97 deletions.
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ A set of utilities for checking Go sources.
## Installation

$ go get github.com/opennota/check/cmd/aligncheck
$ go get github.com/opennota/check/cmd/defercheck
$ go get github.com/opennota/check/cmd/structcheck
$ go get github.com/opennota/check/cmd/varcheck

Expand All @@ -26,14 +25,6 @@ net/http: /usr/lib/go/src/net/http/transport.go:811:6: struct persistConn could
```
For the visualisation of struct packing see http://golang-sizeof.tips/


Find repeating `defer`s.

```
$ defercheck go/parser
go/parser: /usr/lib/go/src/go/parser/parser.go:1957:5: Repeating defer p.closeScope() inside function parseSwitchStmt
```

Find unused struct fields.

```
Expand Down
88 changes: 0 additions & 88 deletions cmd/defercheck/defercheck.go

This file was deleted.

0 comments on commit aa37591

Please sign in to comment.