account.go
changeset 193 f4ac09bc2964
parent 184 546db8bb5867
child 202 30bea35361cf
equal deleted inserted replaced
192:87eda713b614 193:f4ac09bc2964
   215 	}
   215 	}
   216 	return rel, nil
   216 	return rel, nil
   217 }
   217 }
   218 
   218 
   219 // FollowRemoteAccount follows a remote account
   219 // FollowRemoteAccount follows a remote account
   220 // The parameter 'uri' is a URI (e.mc. "username@domain").
   220 // The parameter 'uri' is a URI (e.g. "username@domain").
   221 func (mc *Client) FollowRemoteAccount(uri string) (*Account, error) {
   221 func (mc *Client) FollowRemoteAccount(uri string) (*Account, error) {
   222 	if uri == "" {
   222 	if uri == "" {
   223 		return nil, ErrInvalidID
   223 		return nil, ErrInvalidID
   224 	}
   224 	}
   225 
   225