mattn / go-mastodon

mastodon client for golang
MIT License
599 stars 85 forks source link

Adding accounts/lookup endpoint #175

Closed rmrfslashbin closed 3 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 3 months ago

Thank you

djotaku commented 3 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