diff --git a/doc/docs.md b/doc/docs.md index 2681c014e0..f18f7c6a54 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -2462,6 +2462,18 @@ struct Repo { db DB } +struct User { + id int + name string +} + +struct Post { + id int + user_id int + title string + body string +} + fn new_repo(db DB) Repo { return Repo{db: db} }