All examples

Go HTTP service

Standard-library HTTP service with method-pattern routing, pgx and sqlc, slog logging, and table-driven tests.

Composed from the go-http-service rules pack. Same file from the CLI: aibysitter init --packs go-http-service --format agents

Written for this site, CC0, scored by this linter, not tested against any agent.

File
AGENTS.md, 40 lines
Format
AGENTS.md
Save as
AGENTS.md
Category
Go
Tags
License
CC0 1.0, public domain. No attribution needed.

Download AGENTS.md Lint a copy

Aibysitter lint score

100 / 100 — A

Ruleset v4

No deductions.

Badge

Aibysitter lint score: A 100

Markdown for a README:

[![Aibysitter lint score: A 100](https://aibysitting.net/gallery/go-http-service/badge.svg)](https://aibysitting.net/Gallery/go-http-service)

AGENTS.md

View source

Go HTTP service

Go HTTP service. Standard library net/http routing, PostgreSQL through pgx, queries generated by sqlc.

Commands

Layout

Handlers

Errors and context

Logging

Tests

Dependencies