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
Copying from the sample code gnoiClient := gnoigo.NewClients(conn) installOP := gnoiOS.NewInstallOperation().Reader(strings.NewReader("test")).Version("1.1.1.1") _, err = gnoigo.Execute(ctx, gnoiClient, installOP)
I get the errors "Cannot infer T" on Execute and for installOP: Cannot use installOP (type *InstallOperation) as the type Operation[T] Type does not implement Operation[T] need the method: Execute(context. Context, *internal. Clients) (T, error) have the method: Execute(ctx context. Context, c *internal. Clients) (*ospb. InstallResponse, error)
go version
go 1.22.1
go mod
github.com/openconfig/gnoigo v0.0.0-20240320202954-ebd033e3542c
The text was updated successfully, but these errors were encountered:
Copying from the sample code
gnoiClient := gnoigo.NewClients(conn) installOP := gnoiOS.NewInstallOperation().Reader(strings.NewReader("test")).Version("1.1.1.1") _, err = gnoigo.Execute(ctx, gnoiClient, installOP)
I get the errors "Cannot infer T" on Execute and for installOP:
Cannot use installOP (type *InstallOperation) as the type Operation[T] Type does not implement Operation[T] need the method: Execute(context. Context, *internal. Clients) (T, error) have the method: Execute(ctx context. Context, c *internal. Clients) (*ospb. InstallResponse, error)
go version
go 1.22.1
go mod
github.com/openconfig/gnoigo v0.0.0-20240320202954-ebd033e3542c
The text was updated successfully, but these errors were encountered: