lib/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT

Directories

Path Synopsis
Package dateformat formats dates by PHP date()-style patterns (entity.DateFormat).
Package dateformat formats dates by PHP date()-style patterns (entity.DateFormat).
Package debounce coalesces bursts of calls into one.
Package debounce coalesces bursts of calls into one.
Package htmlimages rewrites <img> tags in HTML content into resized-preview links (with PhotoSwipe captions), using an imagestyle.ResizeService.
Package htmlimages rewrites <img> tags in HTML content into resized-preview links (with PhotoSwipe captions), using an imagestyle.ResizeService.
Package mailsender sends transactional email via SMTP.
Package mailsender sends transactional email via SMTP.
Package numberformat shows numbers by a language's separators: the decimal one and the one between thousands, each a translation of its own (message contexts ContextDecimal, ContextThousands: "." and "," in English).
Package numberformat shows numbers by a language's separators: the decimal one and the one between thousands, each a translation of its own (message contexts ContextDecimal, ContextThousands: "." and "," in English).
Package oauth - OAuth 2.0 sign-in with Google, VK ID and Yandex: the authorization URL, the code exchange and the user's profile normalized to Profile.
Package oauth - OAuth 2.0 sign-in with Google, VK ID and Yandex: the authorization URL, the code exchange and the user's profile normalized to Profile.
Package photoswipe builds markup for the PhotoSwipe gallery viewer.
Package photoswipe builds markup for the PhotoSwipe gallery viewer.
Package searchtext turns text into the words a search index keeps and a query into the words it looks for: folded (lowercase, "ё" as "е") and stemmed in a language (Snowball), so "cats" finds "cat".
Package searchtext turns text into the words a search index keeps and a query into the words it looks for: folded (lowercase, "ё" as "е") and stemmed in a language (Snowball), so "cats" finds "cat".
Package secretbox seals the secrets a site keeps in its database (the keys and passwords of outside services, the two-factor secrets) with a key from its environment, so a dump of the database doesn't give them away: AES-256-GCM, the key derived from the given one with HKDF-SHA256.
Package secretbox seals the secrets a site keeps in its database (the keys and passwords of outside services, the two-factor secrets) with a key from its environment, so a dump of the database doesn't give them away: AES-256-GCM, the key derived from the given one with HKDF-SHA256.
Package slogquiet keeps errors that aren't the server's fault out of the ERROR level: a request the client cancelled or a connection it closed (context canceled, broken pipe, connection reset) is logged at DEBUG.
Package slogquiet keeps errors that aren't the server's fault out of the ERROR level: a request the client cancelled or a connection it closed (context canceled, broken pipe, connection reset) is logged at DEBUG.
Package textdiff compares two texts for a side-by-side view: by paragraphs, then by words inside the paragraphs that changed.
Package textdiff compares two texts for a side-by-side view: by paragraphs, then by words inside the paragraphs that changed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL