Skip to content
This repository was archived by the owner on Feb 14, 2021. It is now read-only.
This repository was archived by the owner on Feb 14, 2021. It is now read-only.

Question: Use goping as library  #1

@hesingh

Description

@hesingh

Thanks for developing this goping code - it's great. I am using it in another golang program and have changed func API's to return an error. In regards to the specific line of code below:

go ping(config, place.Address, place.Name, LATENCY_PATTERN)

I have changed the API of 'func ping' to return error. My obvious question is how to I check the error returned from 'ping' given the above line of code?

thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions