Repository navigation
Conversation
borderss
added a commit
to skudra-go/ant
that referenced
this pull request
Nov 30, 2026
The README is the first thing most people see of ant, so this rewrites it for someone deciding whether to try it. ## What changes - The links row goes to Documentation, Quick start, Choose your path, Examples and Blog on skudra.net. - `go run github.com/skudra-go/ant-examples/examples/hello@latest` comes first, so a reader can see ant work before reading further. - The comments in the first snippet say what each context does: the root is shared for reads and inserts and does not track, and a session tracks what it loads for `SaveChanges`. - The memory bullet now says the numbers hold with `NoTracking` where it applies, and links the benchmarks page. The KiB table it replaced is gone. - Each Features bullet links its docs page. - A new "In real code" section points at four examples: listmonk, pagila, azugo and ledger. - Databases links the database matrix. Learn more lists the six guides, and About credits EF Core and Eloquent. - The transactions link is fixed. - The package documentation links skudra.net (ant.go, two comment lines). ## Checked `make fmt`, `make lint` and `make test` pass. No code changed, so no database suite ran. ## Merge order Merge this after skudra-go/ant-examples#9 and skudra-go/ant-docs#24, since the README links pages that the docs PR adds (/choose-your-path, /examples and three of the guides).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the adoption and SEO review of the site. The aim is that someone new to ant sees what it does for them within a page or two, and that searches for the problems ant solves find these pages.
New pages
/choose-your-path): where to start, by what you are doing: a first try, a new project, a database you already run, money, data kept for a set time, a web service, or a move from GORM./features): every feature on one page, as cards that link their docs./examples): the example projects, with what each one shows. The navbar and the hero now link this page instead of the GitHub repository.pgstatindex, with sizes and leaf density only.Changed pages
db.Invoicestype-checks.go run github.com/skudra-go/ant-examples/examples/hello@latestand its output. The Next section is one paragraph that links Choose your path and AI assistants.sidebar_label.Blog
2026-11-25-…to2026-11-28-…, its numbers are current, and the NoTracking example shows the root against a session.Site and tooling
/searchhad only<meta property="robots">, which search engines ignore.src/theme/SearchPagenow wraps the page innoIndex, so the build has<meta name="robots" content="noindex">, and/searchis left out of the sitemap.src/worker.mjsturns a 404 into a 410 under 40 path patterns left over from the domain's previous owner: dated WordPress posts from 2014 to 2019, forum threads, tags, paging, comments, feeds, sitemaps,wp-*and the like.wrangler.jsoncsends only those patterns through the Worker (run_worker_first). The Worker asks the assets first, so a real page under a pattern is still served.src/worker.test.mjshas three tests, andnpm testnow runssrc/*.test.mjs. Checked withwrangler dev:/and/conceptsreturn 200, old date, forum, tag, sitemap and WordPress paths return 410, and unknown paths still return 404.FeatureGrid,FeatureCardandProjectCardrender in the.mdcopies as a heading with a link and a source line, with a test.github.com/shopspring/decimalv1.6.0, so samples can modelnumeric(10,2)money as a decimal instead of a float64.Checks
npm run check: 624 docs samples (29 skipped) and 16 blog samples (8 skipped) type-check with 0 failures, 21 plugin and Worker tests pass, and the build succeeds. After that run, one prose sentence in the UUID guide was corrected, describing what google/uuid'sNewV7does.goose and golang-migrate were not run. The migrations guide says both can run ant's files, and that part is unverified, so please read it closely or try it before merging.
Merge order
Merge skudra-go/ant-examples#9 first: this PR tells readers that one clone of ant-examples is enough. The ant README PR, skudra-go/ant#365, links pages added here, so it goes after this one.
Follow-ups in ant
skudra-go/ant#353, #354 and #355 came out of writing these guides. skudra-go/ant#357, #359 and #360 fix them, and the draft skudra-go/ant#364 lists the pages here to update once they ship. skudra-go/ant#356 asks the owner whether
Diagnostics{}should warn about N+1 queries by default.