Download this file
| 1 | package main |
| 2 | |
| 3 | import ( |
| 4 | "context" |
| 5 | "github.com/carlosframework/docs/internal/docs" |
| 6 | "github.com/carlosframework/rastrillo/db" |
| 7 | ) |
| 8 | |
| 9 | func principalStep(context.Context, *db.DB, string) int64 { return 0 } |
| 10 | |
| 11 | // openProbeDB lives in the step file because the old and new trees import |
| 12 | // rastrillo's db from different module paths. |
| 13 | func openProbeDB(path string) (*db.DB, error) { return db.Open(path, nil) } |
| 14 | |
| 15 | func fixtureActor(id int64, address string) docs.Actor { |
| 16 | return docs.Actor{PersonID: id, Subject: address} |
| 17 | } |
| 18 | |