Add build script, AGENTS.md, fix formatting
Build and Deploy / build-and-deploy (push) Successful in 44s
Build and Deploy / build-and-deploy (push) Successful in 44s
- scripts/build: gofmt, go vet, go build, docker build - AGENTS.md: agents must run ./scripts/build before committing - Fix gofmt issues in handler/auth.go and store/store.go
This commit is contained in:
@@ -136,6 +136,7 @@ func (h *AuthHandler) ServeSignout(w http.ResponseWriter, r *http.Request) {
|
||||
})
|
||||
http.Redirect(w, r, "/signin", http.StatusSeeOther)
|
||||
}
|
||||
|
||||
type contextKey string
|
||||
|
||||
const userIDKey contextKey = "userID"
|
||||
|
||||
Reference in New Issue
Block a user