Skip to content

Make role setters variadic #3

@mrksmrtn

Description

@mrksmrtn

The roles.Repo interface functions SetRolesByName() and SetRolesByRoleId() in restlib.roles should improve their API by being variadic. Right now they take a slice of strings which makes for awkward use. The burden of dealing with a slice should be on the library, not the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions