encore-go-auth
Installation
SKILL.md
Encore Go Authentication
Instructions
Encore Go provides a built-in authentication system using the //encore:authhandler annotation.
1. Create an Auth Handler
package auth
import (
"context"
"encore.dev/beta/auth"
"encore.dev/beta/errs"
)
// AuthParams defines what the auth handler receives
type AuthParams struct {
Related skills
More from encoredev/skills
encore-service
Structure and organize Encore.ts services.
354encore-api
Create type-safe API endpoints with Encore.ts.
350encore-code-review
Review Encore.ts code for best practices and anti-patterns.
346encore-auth
Implement authentication with auth handlers and gateways in Encore.ts.
345encore-database
Database queries, migrations, and ORM integration with Encore.ts.
337encore-testing
Test APIs and services with Vitest in Encore.ts.
333