mattn / go-mastodon

mastodon client for golang
MIT License
604 stars 88 forks source link

Adding accounts/lookup endpoint #175

Closed rmrfslashbin closed 6 months ago

rmrfslashbin commented 1 year ago

This PR adds the /api/v1/accounts/lookup endpoint (https://docs.joinmastodon.org/methods/accounts/#lookup) via a new function func (c *Client) AccountLookup(ctx context.Context, acct string) (*Account, error). Test included.

mattn commented 6 months ago

Thank you

djotaku commented 6 months ago

yeah, this is where the module is renamed in go.mod which makes this package uninstallable now because it points to rmrfslsashbin, not this repo