4d5116644f
- Move status page template to package-level template.Must (panic on parse error at init instead of nil deref at runtime) - Fix XSS in import error responses (log detail server-side, return generic message to client) - Handle ListenAndServe errors in HTTP and SSH servers - Use defer resp.Body.Close() in all alert providers, check json.Marshal errors - Share HTTP clients across checks instead of creating per-request - Use http.NewRequestWithContext for per-site timeout control - Support HTTP method field (was always GET despite DB storing method) - Implement AcceptedCodes validation (was hardcoded >= 400 despite DB storing accepted code ranges) - Add defer tx.Rollback() to ImportData for transaction safety
42 lines
779 B
Plaintext
42 lines
779 B
Plaintext
# Created by https://www.toptal.com/developers/gitignore/api/go
|
|
# Edit at https://www.toptal.com/developers/gitignore?templates=go
|
|
|
|
### Go ###
|
|
# If you prefer the allow list template instead of the deny list, see community template:
|
|
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
|
#
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
|
|
# Dependency directories (remove the comment below to include it)
|
|
# vendor/
|
|
|
|
# Go workspace file
|
|
go.work
|
|
|
|
# End of https://www.toptal.com/developers/gitignore/api/go
|
|
|
|
/goupkeep
|
|
upkeep.db
|
|
|
|
.ssh
|
|
|
|
authorized_keys
|
|
|
|
tmp
|
|
|
|
# Old repo
|
|
/go-upkeep/
|
|
|
|
*.local.json
|
|
*.local.md |