AGENTS.md: no direct commits to main, all changes via feature branches
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// Package models defines the data models used by the chat application.
|
||||
package models
|
||||
|
||||
import "database/sql"
|
||||
@@ -13,6 +14,7 @@ type Base struct {
|
||||
db DB
|
||||
}
|
||||
|
||||
// SetDB injects the database reference into a model.
|
||||
func (b *Base) SetDB(d DB) {
|
||||
b.db = d
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user