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

Этот коммит содержится в:
Lev
2022-07-20 04:50:56 -07:00
коммит произвёл GitHub
родитель 9ed453dcac
Коммит da7a8a4552
6 изменённых файлов: 76 добавлений и 40 удалений

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

@@ -21,7 +21,6 @@ import (
"reflect"
"sync"
"github.com/dyatlov/go-opengraph/opengraph"
"github.com/go-sql-driver/mysql"
"github.com/hashicorp/go-plugin"
"github.com/lib/pq"
@@ -164,7 +163,6 @@ 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{})