go – CFG post-order panic: reflect: embedded type with methods not implemented if there is more than one field

I am trying to build a Traefik plugin and test it in local mode based on https://github.com/traefik/plugindemo#local-mode In this plugin, I am trying to use a library https://github.com/vektah/gqlparser Without importing this library, the code runs well. As long as I added import ( “github.com/vektah/gqlparser” ) _ = gqlparser.MustLoadSchema The full code: package traefik_plugin_validate_graphql_query import ( … Read more

go – http: panic serving [::1]:34324: runtime error: invalid memory address or nil pointer dereference (Golang)

I am new to programming with go. While following along with a tutorial to build a web project. My goal was to display some data on a web page but I got a runtime error. I looked through the error message and I think it is coming from a handler in my handlers.go file but … Read more