Package apiutil provides various functions meant to be used by handlers from the api package.
CreateGhOrgsFromPGArray generates a slice of GhOrganization from a PostgresSQL array from gh_organizations table. Elements MUST be in table order. FIXME Find a safer way to deal with this
FetchRepository retrieves a repository from the database.
FetchUser retrieves a user from the database.