fix some linting issues

This commit is contained in:
Clemens 2024-04-04 15:08:02 +02:00
commit 92d011f1a5
8 changed files with 28 additions and 25 deletions

View file

@ -18,7 +18,7 @@ type ForgeLike struct {
ap.Activity
}
func NewForgeLike(actorIRI string, objectIRI string, startTime time.Time) (ForgeLike, error) {
func NewForgeLike(actorIRI, objectIRI string, startTime time.Time) (ForgeLike, error) {
result := ForgeLike{}
result.Type = ap.LikeType
// ToDo: Would validating the source by Actor.Type field make sense?