*: remove dead code

Found by deadcode via golangci-lint.
This commit is contained in:
Roman Khimov 2021-05-12 18:13:14 +03:00
parent 75a55d910e
commit cfc067dd24
16 changed files with 2 additions and 183 deletions

View file

@ -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] == '*' {