Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- The Go module `thrust_oauth2id` boots from `cmd/thrustOauth2idServer/main.go`; keep CLI or server wiring here only.
Sign in to like and favorite skills
thrust_oauth2id boots from cmd/thrustOauth2idServer/main.go; keep CLI or server wiring here only.internal/: routers registers Gin routes, handler hosts HTTP logic, dao and model back storage, while server handles lifecycle; add new business logic under a focused subpackage such as internal/service.configs/, deployment manifests in deployments/, docs and Swagger sources in docs/, helper scripts in scripts/; mirror this layout when adding files.internal/handler/user_test.go style) so ownership stays obvious.make run [Config=configs/dev.yml] compiles and starts the server with an optional config override.make build produces a deployable binary in cmd/thrustOauth2idServer/.make ci-lint runs gofmt -s and golangci-lint; run it before pushing or opening a PR.make docs regenerates Swagger artifacts after handler or model updates.make test executes fast unit suites; make cover adds HTML coverage for local review.gofmt/goimports (module prefix thrust_oauth2id) and keep lines under 200 characters per lll..golangci.yml (revive, staticcheck, misspell, etc.); resolve warnings rather than suppressing them.request_id, subject, etc.).*_test.go files, leaning on testing and net/http/httptest for handler coverage.testdata/ when needed.make test before every commit and make cover for new flows to confirm coverage deltas.Add Rails Auth, Fix token refresh) with optional bodies for context or follow-up tasks.make commands executed; attach Swagger screenshots when docs change.configs/thrustOauth2idServer.yml and inject secrets via CI or runtime tooling.deployments/ and document operational steps in the PR or docs/.