package
0.0.0-20230706124316-be3c365f345f
Repository: https://github.com/deleplace/programming-idioms.git
Documentation: pkg.go.dev

# Functions

IsAdmin determines whether the current user is regarded as Admin by the Google auth provider.
NiceIdiomIDTitleURL produces an URL for an Idiom, with specified title.
NiceIdiomRelativeURL produces a relative canonical URL for an Idiom.
NiceIdiomURL produces a canonical URL for an Idiom.
NiceImplRelativeURL produces a relative canonical URL for an Impl.
NiceImplURL produces a canonical URL for an Impl.
PiErrorf formats a PiError message.
UglyIdiomIDURL produces an URL for an idiom ID and an impl ID.
UglyIdiomIDURL produces an URL for an Idiom ID.

# Constants

ThemeVersion is the version of the current CSS-JS theme.

# Variables

Pretty maps some languages to a syntax coloring JS script.
ThemeDate is the prefix used for "revving" the static files and enable long-term HTTP cache.

# Structs

No description provided by the author
No description provided by the author
AboutFacade is the Facade for the About page.
AdminFacade is the Facade for the Admin page.
AdminFlaggedFacade is the Facade for the Admin Flagged Contents page.
AppConfigProperty is a (global) application property.
ApplicationConfig is a global configuration container.
SearchResultsFacade is the facade for the Search Results page.
CheatSheetFacade is the Facade for the Cheat Sheets.
CheatSheetMultipleFacade is the Facade for the Cheat Sheets with multiple languages.
CoverageFacade is the facade for the Language Cover block of the About page.
No description provided by the author
Env encapsulates a Programming-Idioms webapp environment.
ErrorFacade is the Facade for the Error page (BSOD).
FlaggedContent is a user report of an inappropriate content.
FlaggedContentFacade is the Facade for 1 line of the Flagged Contents table.
GaeDatastoreAccessor is a dataAccessor that works on the Google App Engine Datastore.
GaeVotesAccessor is a votesAccessor designed for the Google App Engine Datastore.
GUID wraps a URI that is probably not a Permalink.
HomeFacade is the Facade for the homepage.
IdiomAddPictureFacade is the Facade for the Add Idiom Picture page.
IdiomCreateFacade if the Facade for the New Idiom page.
IdiomDetailFacade is the Facade for the Idiom Detail page.
IdiomEditFacade is the Facade for the Add Idiom Picture page.
IdiomHistoryFacade is the Facade for the Idiom History page.
ImplCreateFacade is the Facade for the New Implementation page.
ImplEditFacade is the Facade for the Implementation Edit page.
ImplHistoryFacade is the Facade for the Impl History page.
KeyAndEntity is a specific pair wrapper.
MemcacheDatastoreAccessor accessor uses a MemCache for standard CRUD.
SearchResultsFacade is the facade for the Search Results page.
PiError is a custom error type, which embeds a HTTP error code.
PipelineDecorator is an artificial structure because pipeline is always only 1 object :(.
PrettyAdaptor contains a CSS class and a syntax coloring JS script, for some language.
RssFacade is the Facade for the RSS news feeds.
RssItem is a news.
SearchResultsFacade is the facade for the Search Results page.
VersionDiffFacade is the Facade for the Diff page.
WallFacade is the Facade for the Wall page.

# Type aliases

IdiomSingleton is an idiom that contains a single Implementation.
IdiomStub is an idiom that contains zero Implementation.
Response is a generic container suitable to be directly converted into a JSON HTTP response.