diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-08-05 22:47:46 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-08-05 22:47:46 +0200 |
| commit | 19abdd4b99c96afeb761da44f84d665cce49be8e (patch) | |
| tree | 8f9f9ca5be6925f3d068bb7aa0c85eed79111020 /pgtest/snapshot.go | |
| parent | 3e9488e22d43cfba0b9306cf916f95fd833fcd97 (diff) | |
| download | go-gg-pgtest.tar.gz | |
pgtest: scan topologypgtest
Diffstat (limited to 'pgtest/snapshot.go')
| -rw-r--r-- | pgtest/snapshot.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pgtest/snapshot.go b/pgtest/snapshot.go index f27ecec..ed0752c 100644 --- a/pgtest/snapshot.go +++ b/pgtest/snapshot.go @@ -4,9 +4,11 @@ package pgtest import ( + "context" "fmt" "go.xyrillian.de/gg/assert" + "go.xyrillian.de/gg/gsql" ) // Snapshot contains a set of SQL statements. @@ -15,6 +17,10 @@ type Snapshot struct { t assert.TestingTB } +func newSnapshot(ctx context.Context, db gsql.Handle, topo topology) (Snapshot, error) { + panic("TODO") +} + // AssertEmpty is a shorthand for AssertEqual(""). func (s Snapshot) AssertEmpty() { s.t.Helper() |
