You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the command:
rav@PC:~/Go/MFTI/perfomance/json$ easyjson struct.go
And got an error:
# command-line-arguments
main.main: relocation target type.json_test.EasyJSON_exporter_User not defined
Bootstrap failed: exit status 2
File struct_easyjson.go has only lines:
// TEMPORARY AUTOGENERATED FILE: easyjson stub code to make the package
// compilable during generation.
Hi.
My golang version is go1.18.3 linux/amd64
I ran the command:
rav@PC:~/Go/MFTI/perfomance/json$ easyjson struct.go
And got an error:
# command-line-arguments
main.main: relocation target type.json_test.EasyJSON_exporter_User not defined
Bootstrap failed: exit status 2
File struct_easyjson.go has only lines:
// TEMPORARY AUTOGENERATED FILE: easyjson stub code to make the package
// compilable during generation.
_package main
import (
"github.com/mailru/easyjson/jwriter"
"github.com/mailru/easyjson/jlexer"
)
func ( User ) MarshalJSON() ([]byte, error) { return nil, nil }
func (* User ) UnmarshalJSON([]byte) error { return nil }
func ( User ) MarshalEasyJSON(w jwriter.Writer) {}
func ( User ) UnmarshalEasyJSON(l *jlexer.Lexer) {}
type EasyJSON_exporter_User *User__
The text was updated successfully, but these errors were encountered: