This reverts commit f14c79f170.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
be7ee97dd3
Коммит
29fae242e1
10
vendor/github.com/mailru/easyjson/helpers.go
сгенерированный
поставляемый
10
vendor/github.com/mailru/easyjson/helpers.go
сгенерированный
поставляемый
@@ -26,16 +26,6 @@ type Optional interface {
|
||||
IsDefined() bool
|
||||
}
|
||||
|
||||
// UnknownsUnmarshaler provides a method to unmarshal unknown struct fileds and save them as you want
|
||||
type UnknownsUnmarshaler interface {
|
||||
UnmarshalUnknown(in *jlexer.Lexer, key string)
|
||||
}
|
||||
|
||||
// UnknownsMarshaler provides a method to write additional struct fields
|
||||
type UnknownsMarshaler interface {
|
||||
MarshalUnknowns(w *jwriter.Writer, first bool)
|
||||
}
|
||||
|
||||
// Marshal returns data as a single byte slice. Method is suboptimal as the data is likely to be copied
|
||||
// from a chain of smaller chunks.
|
||||
func Marshal(v Marshaler) ([]byte, error) {
|
||||
|
||||
Ссылка в новой задаче
Block a user