Go fmt files
parent
5c9098bae7
commit
40cadd7842
1
actor.go
1
actor.go
|
@ -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()
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue