Skip to content

NewClient suggestion #3

@kilgaloon

Description

@kilgaloon

Currently NewClient receives credentialsLocation as string. In my opinion, if you put io.Reader it opens a lot more possibilities to this. When we want to create a new client we can choose to load it from a file or we can just create a string reader (ex: strings.NewReader("Hello, Reader!")) and pass it like that.

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