Web
Web
- Request binding reference: Rules used by
web.Hto fill a handler’s input struct. - Views, sessions and forms reference: The APIs of packages
view,sessionandencryption, and the HTML helpers of packageweb. See Render HTML with templ, Sessions and flash messages and Handle HTML forms for walkthroughs. The components of a project’sviews/uiare in the UI components reference. - Validation rules reference: Rules for the
validatestruct tag, used byvalidate.Structandweb.H. See the validation guide for how to use them. - Translation file formats: The
formatandrelativesections of a catalog, whichi18n.Date,Time,DateTime,Format,Currency,Ago,DurationandLanguageNameuse, and the date pattern fields. The framework’s English values are ini18n/locales/en.yaml; a language’s come fromanetos locale:add(Numbers, dates and languages). A key a locale lacks comes from its parents, then English (the app’sencatalogs, then the framework’s), never from a fallback locale in another language. - OpenAPI reference: Package
web/openapiand what it writes. How to use it: Describe an API with OpenAPI. - UI components reference: The components of
views/ui, the packageanetos newwrites into a web project, which the layout and the pages ofmake:crudandmake:authcall. The package is your app’s: this page describes it asanetos newwrites it. See Style your app for changing it.