Skip to content

Create centralized HTTP timeout helper #286

@digitalghost-dev

Description

@digitalghost-dev

Several commands within the program have their own &http.Client{Timeout: 60 * time.Second} variable. Since they're all set to 60 seconds, creating a single helper function for this makes updating it easier in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorRefactoring existing code.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions