go-mstdn/api/v1/accounts/lookup/loader.go

9 lines
178 B
Go

package lookup
import (
"sourcecode.social/reiver/go-mstdn/api/v1"
"sourcecode.social/reiver/go-mstdn/ent"
)
type LoaderFunc func(account *ent.Account, acct string) v1.Error