mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
lint
This commit is contained in:
parent
7b2309592c
commit
e7580da130
1 changed files with 0 additions and 2 deletions
|
@ -70,7 +70,6 @@ type PersonID struct {
|
||||||
|
|
||||||
// Factory function for PersonID. Created struct is asserted to be valid
|
// Factory function for PersonID. Created struct is asserted to be valid
|
||||||
func NewPersonID(uri, source string) (PersonID, error) {
|
func NewPersonID(uri, source string) (PersonID, error) {
|
||||||
|
|
||||||
result, err := newActorID(uri)
|
result, err := newActorID(uri)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return PersonID{}, err
|
return PersonID{}, err
|
||||||
|
@ -122,7 +121,6 @@ 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.
|
||||||
func NewRepositoryID(uri, source string) (RepositoryID, error) {
|
func NewRepositoryID(uri, source string) (RepositoryID, error) {
|
||||||
|
|
||||||
result, err := newActorID(uri)
|
result, err := newActorID(uri)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return RepositoryID{}, err
|
return RepositoryID{}, err
|
||||||
|
|
Loading…
Reference in a new issue