Documentation ¶
Index ¶
- func JoinNewsletter(name string, email string, message string, wantsToChat string) error
- func PaginateResourceList(resourceList []models.ResourceBase, skip int, size int) []models.ResourceBase
- func SortResourceListByDate(resourceList []models.ResourceBase) []models.ResourceBase
- func SortResourceListByTitle(resourceList []models.ResourceBase) []models.ResourceBase
- func SortResourcePtrListByDate(resourceList []*models.ResourceBase) []*models.ResourceBase
- func SortResourcePtrListByTitle(resourceList []*models.ResourceBase) []*models.ResourceBase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinNewsletter ¶ added in v1.1.1
func PaginateResourceList ¶ added in v0.1.7
func PaginateResourceList(resourceList []models.ResourceBase, skip int, size int) []models.ResourceBase
func SortResourceListByDate ¶
func SortResourceListByDate(resourceList []models.ResourceBase) []models.ResourceBase
func SortResourceListByTitle ¶
func SortResourceListByTitle(resourceList []models.ResourceBase) []models.ResourceBase
func SortResourcePtrListByDate ¶
func SortResourcePtrListByDate(resourceList []*models.ResourceBase) []*models.ResourceBase
default sort DESC (today, yesterday, 2 days ago, 3 days ago...)
func SortResourcePtrListByTitle ¶
func SortResourcePtrListByTitle(resourceList []*models.ResourceBase) []*models.ResourceBase
default sort ASC (a, b, c, d, e...)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.