You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package user
|
|
|
|
// IDs gets array of UserIDs from ListAPIAccess struct
|
|
func (us ListAPIAccess) IDs() []uint64 {
|
|
res := make([]uint64, 0, len(us))
|
|
for _, us := range us {
|
|
res = append(res, us.ID)
|
|
}
|
|
return res
|
|
}
|