- use Go for all backend logic
- use the standard library first (net/http, html/template, context, database/sql)
- use HTMX for interactivity and progressive enhancement (server-rendered HTML first)
- use Pico.css for styling; extend via custom CSS/SCSS only when needed
- keep handlers small and focused (one responsibility per handler)
- return HTML fragments for HTMX requests and full pages for normal requests
- default to small components/templates
If you're trying to install a scoped, internal or private library and you run into authentication or not found errors, please continue reading:
Follow the GitHub docs on installing packages from GPR. To install private or internal packages in a GitHub workflow, you'll need to add a GitHub Action Secret to the repository. Organizations that publish packages from multiple repos should provide an organization-level access token and share that token among repos that need to install other internal or private packages within the organization. Organization secrets can be shared with specific repos by an organization admin.
To configure NPM to instal