Revert "Removed the opengraph type dependency for plugins by stripping post Metadata (#20612)" (#20684)

This reverts commit da7a8a4552.
Этот коммит содержится в:
Agniva De Sarker
2022-07-20 20:09:03 +05:30
коммит произвёл GitHub
родитель 6376f7ff55
Коммит 32dee6d449
6 изменённых файлов: 40 добавлений и 76 удалений

Просмотреть файл

@@ -21,6 +21,7 @@ import (
"reflect"
"sync"
"github.com/dyatlov/go-opengraph/opengraph"
"github.com/go-sql-driver/mysql"
"github.com/hashicorp/go-plugin"
"github.com/lib/pq"
@@ -163,6 +164,7 @@ func init() {
gob.Register(&pq.Error{})
gob.Register(&mysql.MySQLError{})
gob.Register(&ErrorString{})
gob.Register(&opengraph.OpenGraph{})
gob.Register(&model.AutocompleteDynamicListArg{})
gob.Register(&model.AutocompleteStaticListArg{})
gob.Register(&model.AutocompleteTextArg{})