Documentation ¶
Index ¶
- func GetPost(slug string) models.ExpandedPost
- func GetUser(ctx context.Context, user *models.User) error
- func GetUsersAboveLevel(ctx context.Context, level int8) ([]models.User, error)
- func IndexPosts() []models.SummarizedPost
- func StorePost(context.Context) string
- func StoreUser(ctx context.Context, user *models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPost ¶
func GetPost(slug string) models.ExpandedPost
func GetUsersAboveLevel ¶
Gets all users above and including the given level Will need to be refactored if it might ever return more than a 100 results
func IndexPosts ¶
func IndexPosts() []models.SummarizedPost
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.