aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* v1.16.0HEADv1.16.0mainStefan Majewsky7 days1-1/+1
|
* oblast: import from go.xyrillian.de/oblastStefan Majewsky7 days21-3/+5029
| | | | | | - type RuntimeIndex is left behind for now because I don't want to commit to the method names yet - the "OrNone" methods are removed in favor of gsql.NoneIfNoRows()
* gsql: add NoneIfNoRowsStefan Majewsky7 days4-1/+55
|
* add TODOsStefan Majewsky13 days2-0/+6
|
* v1.15.0v1.15.0Stefan Majewsky2026-09-081-1/+1
|
* gsql: change WithinTransaction methods to take sql.TxOptionsStefan Majewsky2026-09-082-8/+11
| | | | This makes them usable as replacements for BeginTx + Commit/Rollback.
* assert: improve string literal representation in ErrEqual outputStefan Majewsky2026-08-192-4/+10
|
* microprom: fix outdated doc linksStefan Majewsky2026-08-182-5/+7
|
* v1.14.0v1.14.0Stefan Majewsky2026-08-181-1/+1
|
* microprom: add BenchmarkFormatLabelsStefan Majewsky2026-08-181-0/+25
|
* Merge branch 'microprom'Stefan Majewsky2026-08-1819-80/+1119
|\
| * test coverage for micropromStefan Majewsky2026-08-188-11/+165
| |
| * test coverage for internal/acceptStefan Majewsky2026-08-182-2/+88
| |
| * assert: add Panics, PanicsWithStefan Majewsky2026-08-188-77/+152
| | | | | | | | | | | | | | | | I want to use this for test coverage in microprom. This turned out to be a bigger change than expected because testcapture has a dependency on assert, which I had to invert to be able to use testcapture.Capture() in assert.
| * add testing/microprom, initial parity with promhttpStefan Majewsky2026-08-176-20/+364
| |
| * add package micropromStefan Majewsky2026-08-175-0/+380
|/ | | | | | This does not have test coverage yet, because the test coverage will be in the `testing/` module, but `go mod tidy` will not run there until there is a commit that has the microprom package itself.
* jsonmatch: write down idea for func CapturedFieldStefan Majewsky2026-08-111-0/+9
|
* v1.13.3v1.13.3Stefan Majewsky2026-08-051-1/+1
|
* pgruntime: add ConnectionTarget.ApplicationName attributeStefan Majewsky2026-08-053-12/+82
|
* v1.13.2v1.13.2Stefan Majewsky2026-08-051-1/+1
|
* gitignore: add go.work.sumStefan Majewsky2026-08-051-0/+1
|
* pgruntime: protect against concurrent migrationsStefan Majewsky2026-08-052-1/+22
|
* v1.13.1v1.13.1Stefan Majewsky2026-08-051-1/+1
|
* pgruntime: fix `psql --version` parsing on UbuntuStefan Majewsky2026-08-052-2/+11
| | | | | This currently breaks all repeated calls to WithTestDB (i.e., all users where more than two packages call WithTestDB) within GH Actions.
* v1.13.0v1.13.0Stefan Majewsky2026-08-013-3/+3
|
* pgruntime: link to pkg.go.dev for gg-pgxStefan Majewsky2026-08-011-1/+1
|
* Merge branch 'pgruntime'Stefan Majewsky2026-08-0121-1/+1232
|\
| * add testing/pgruntimeStefan Majewsky2026-08-0114-14/+238
| | | | | | | | | | | | | | | | Testing pgruntime has quickly turned out to be a nightmare, because so many parts of the test logic are not easily reproducible (e.g. `stopDBIfLingering`). I decided to not waste a bunch of time testing code that is relatively compact and easy to verify by careful examination, and that is unlikely to change a lot in the future.
| * pgruntime: allow overriding .testdb pathStefan Majewsky2026-07-312-4/+34
| |
| * pgruntime: in ConnectForTest, only truncate tables instead of recreating the ↵Stefan Majewsky2026-07-315-29/+97
| | | | | | | | | | | | | | | | database DROP + CREATE DATABASE was measured at 100 ms per ConnectForTest(), which is prohibitively slow in large test suites. This should be more in the ballpark of 10 ms per test.
| * Merge branch 'main' into pgruntimeStefan Majewsky2026-07-311-2/+8
| |\
| * | pgruntime: add t.Helper() and better error messages in ConnectForTest()Stefan Majewsky2026-07-311-2/+7
| | |
| * | pgruntime: fix parameter syntax in migration queryStefan Majewsky2026-07-311-1/+1
| | |
| * | pgruntime: add OverrideDatabaseNameStefan Majewsky2026-07-311-3/+27
| | |
| * | gsql: add context.Context argument to GSQLClose()Stefan Majewsky2026-07-303-5/+6
| | | | | | | | | | | | Required for pgx.Conn.Close().
| * | add package pgruntimeStefan Majewsky2026-07-3014-1/+880
| | |
* | | gsql: add WithinTransactionStefan Majewsky2026-07-312-1/+32
| |/ |/|
* | v1.12.0v1.12.0Stefan Majewsky2026-07-311-1/+1
| |
* | gsql: add context.Context argument to GSQLClose()Stefan Majewsky2026-07-312-2/+3
|/ | | | Required for pgx.Conn.Close().
* add package errextStefan Majewsky2026-07-295-1/+126
|
* add package gsqlStefan Majewsky2026-07-294-0/+291
|
* v1.11.1v1.11.1Stefan Majewsky2026-06-272-0/+7
|
* v1.11.0v1.11.0Stefan Majewsky2026-06-271-1/+1
|
* add func assert.ErrsEqualStefan Majewsky2026-06-274-20/+87
|
* add package pathrouterStefan Majewsky2026-06-2718-2/+870
|
* assert: represent string literals with backticks when appropriateStefan Majewsky2026-06-223-11/+43
|
* update descriptionStefan Majewsky2026-06-211-1/+1
|
* v1.10.1v1.10.1Stefan Majewsky2026-06-201-1/+1
|
* assert: fix crash in ErrEqual on expected being a struct kind valueStefan Majewsky2026-06-203-1/+23
|
* v1.10.0v1.10.0Stefan Majewsky2026-06-201-1/+1
|