| 5 | ) |
| 6 | |
| 7 | type Prompt struct { |
| 8 | BaseModel `bson:",inline"` |
| 9 | UserID bson.ObjectID `bson:"user_id"` |
| 10 | Title string `bson:"title"` |
| 11 | Content string `bson:"content"` |
| 12 | } |
| 13 | |
| 14 | func (p Prompt) CollectionName() string { |
| 15 | return "prompts" |
nothing calls this directly
no outgoing calls
no test coverage detected