Go fmt files

master
Matt Baer 2024-08-30 17:27:33 -04:00
parent 5c9098bae7
commit 40cadd7842
4 changed files with 3 additions and 5 deletions

View File

@ -325,7 +325,6 @@ func (a *Actor) newID() (hash string, url string) {
// TODO // TODO
// CreateNote posts an activityPub note to our followers // CreateNote posts an activityPub note to our followers
//
func (a *Actor) CreateNote(content, inReplyTo string) { func (a *Actor) CreateNote(content, inReplyTo string) {
// for now I will just write this to the outbox // for now I will just write this to the outbox
hash, id := a.newItemID() hash, id := a.newItemID()

View File

@ -22,7 +22,6 @@ type RemoteActor struct {
// all the info required for an actor we want to // all the info required for an actor we want to
// interact with (not essentially sitting in our instance) // interact with (not essentially sitting in our instance)
func NewRemoteActor(iri string) (RemoteActor, error) { func NewRemoteActor(iri string) (RemoteActor, error) {
info, err := get(iri) info, err := get(iri)
if err != nil { if err != nil {
log.Info("Couldn't get remote actor information") log.Info("Couldn't get remote actor information")