Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00

Add question

This commit is contained in:
erik 2023-11-14 14:56:16 +01:00 committed by Michael Jerger
parent 7790e98f47
commit e8013250b8

View file

@ -42,6 +42,7 @@ func StarNew(id ap.ID, ob ap.ID) *Star {
return &o
}
// ToDo: should Star be *Star?
func (a Star) MarshalJSON() ([]byte, error) {
b := make([]byte, 0)
ap.JSONWrite(&b, '{')