oficina / docs Public

Clone
git clone https://amadan.net/oficina/docs

Plain git — no account needed to clone.

Download

Download this file

1package main
2
3import (
4 "context"
5 "github.com/carlosframework/docs/internal/docs"
6 "github.com/carlosframework/rastrillo/db"
7)
8
9func 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.
13func openProbeDB(path string) (*db.DB, error) { return db.Open(path, nil) }
14
15func fixtureActor(id int64, address string) docs.Actor {
16 return docs.Actor{PersonID: id, Subject: address}
17}
18