*: remove dead code
Found by deadcode via golangci-lint.
This commit is contained in:
parent
75a55d910e
commit
cfc067dd24
16 changed files with 2 additions and 183 deletions
|
@ -302,10 +302,6 @@ func isInteropPath(s string) bool {
|
|||
return strings.HasPrefix(s, interopPrefix)
|
||||
}
|
||||
|
||||
func isNativeHelpersPath(s string) bool {
|
||||
return strings.HasPrefix(s, interopPrefix+"/native")
|
||||
}
|
||||
|
||||
// canConvert returns true if type doesn't need to be converted on type assertion.
|
||||
func canConvert(s string) bool {
|
||||
if len(s) != 0 && s[0] == '*' {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue