cakturk / go-netstat

A netstat implementation written in Go
MIT License
237 stars 67 forks source link

simply return error #9

Closed skaji closed 4 years ago

skaji commented 5 years ago

Thank you for creating this useful library.

Currently, go-netstat may terminate the whole program if it fails to parse socktabs.

Because go-netstat is a library, I think it is better to return an error instead of terminating the whole program.

skaji commented 4 years ago

@cakturk I would really appreciate it if you review this pull request. Thanks.

cakturk commented 4 years ago

Sorry for the late response. I have been pretty busy for the last couple of months. Now, merged, thanks.