]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
config: return map from TransitivelyDetectedGroups()
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 10:32:53 +0000 (12:32 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 13:18:45 +0000 (15:18 +0200)
commit77f373a4aa590711155e3af0b768997781f81559
tree126c9fc3ff07c3424cbd23915c54fa38ccaf72e8
parentf4bae10a4029edfb5db6cb9d305b5d67135409f0
config: return map from TransitivelyDetectedGroups()

This is less clean than the original slice of strings. However, it
removes unnecessary code as the caller requires a map instead of a
slice.
cmd/safcm/config/groups.go
cmd/safcm/config/groups_test.go
cmd/safcm/sync.go