This commit is contained in:
erik 2024-05-28 15:37:53 +02:00
parent fa5806cecf
commit 26612aa75b

View file

@ -125,6 +125,7 @@ type RepositoryID struct {
} }
// Factory function for RepositoryID. Created struct is asserted to be valid. // Factory function for RepositoryID. Created struct is asserted to be valid.
// ToDo: Add a NewForeignRepositoryID
func NewRepositoryID(uri, source string, isFollowing bool) (RepositoryID, error) { func NewRepositoryID(uri, source string, isFollowing bool) (RepositoryID, error) {
if isFollowing { if isFollowing {