Documentation ¶
Index ¶
- func Allocate[T any](val T) *T
- func CalculateGridSize(cardsNumber int) (cols, rows int)
- func CardIdToPageCoordinates(id, columns int) (column, row int)
- func CompareMaps(one, two map[string]string) bool
- func GetFileFromMultipart(name string, r *http.Request) ([]byte, error)
- func HashForTime(t *time.Time) string
- func NameToID(in string) string
- func ObjectJSONObject(in any, out any) error
- func Sort[T ISortable](items *[]T, field string)
- type ISortable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateGridSize ¶
Allows you to find the minimum image size for all cards on the page
func CardIdToPageCoordinates ¶
Allows you to calculate the position of the card on the page by its identifier
func CompareMaps ¶
func GetFileFromMultipart ¶ added in v0.2.0
func HashForTime ¶ added in v0.2.3
func ObjectJSONObject ¶ added in v1.0.2
Types ¶
Click to show internal directories.
Click to hide internal directories.