Open zetaab opened 1 year ago
sample.go
package main import ( "fmt" "github.com/coreos/go-oidc/v3/oidc" ) type config struct { provider *oidc.Provider } func main() { conf := config{} fmt.Printf("%+v\n", conf) }
% go run main.go {provider:<nil>}
% yaegi ./main.go run: ./main.go:6:2: import "github.com/coreos/go-oidc/v3/oidc" error: /go/src/github.com/myproject/myproject/vendor/github.com/coreos/go-oidc/v3/oidc/jwks.go:16:2: import "github.com/go-jose/go-jose/v3" error: /go/src/github.com/myproject/myproject/vendor/github.com/go-jose/go-jose/v3/asymmetric.go:33:2: import "github.com/go-jose/go-jose/v3/json" error: /go/src/github.com/myproject/myproject/vendor/github.com/go-jose/go-jose/v3/json/encode.go:650:48: cannot use type *json.encodeState as type io.Writer
0.15.1
No response
Got stuck on the same one.. :/
I ran into the same thing using https://github.com/zitadel/oidc
The following program
sample.go
triggers an unexpected resultExpected result
Got
Yaegi Version
0.15.1
Additional Notes
No response