deadcode icon indicating copy to clipboard operation
deadcode copied to clipboard

Standalone repo of deadcode package from http://github.com/remyoudompheng/go-misc

Results 8 deadcode issues
Sort by recently updated
recently updated
newest added

Example: https://gist.github.com/BenLubar/851d3de63699f50e76ef0f866a0049a3 Since deadcode probably isn't going to be able to parse cgo very easily, it's best to just assume that every function with `//export exactFunctionName` on the line before...

The following changes are from upstream. There is no reconciliation of any changes that where in the fork of deadcode, but we should consider doing so.

> deadcode > deadcode: oauth_helpers.go:70:1: validateJWS is unused > > grep validateJWS * > oauth_helpers.go:// validateJWS gets the access token > oauth_helpers.go:func validateJWS(accessToken string) []byte { > test_cases_test.go: claims :=...

If you have an unused constant which is tagged with // nolint: deadcode a warning is still generated ```go package main import ( "fmt" ) const ( Valid = iota...

thanks for ripping this out. go-style package wildcards would be nice. ``` $ deadcode ./... deadcode: not a directory: ./... ``` In my abundant free time, I'll try to make...