/
githubmirror
/
photoprism
Обзор
Документация
Войти
/
githubmirror
/
photoprism
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
internal/entity/file_json_test.go
13 строк
265 B
Michael Mayer
People: Add SubjectNames() to file entity #22
02 сен 2021, 12:12
02 сен 2021, 12:12
1be409d
Код
Авторство
О чём код?
package entity import "testing" func TestFile_MarshalJSON(t *testing.T) { if m := FileFixtures.Pointer("Video.mp4"); m == nil { t.Fatal("must not be nil") } else if j, err := m.MarshalJSON(); err != nil { t.Fatal(err) } else { t.Logf("json: %s", j) } }