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
Is your feature request related to a problem? Please describe.
Currently, wire generate wire_gen file with following codes,
// Code generated by Wire. DO NOT EDIT.//go:generate go run github.com/google/wire/cmd/wire//go:build !wireinject// +build !wireinjectpackage xxx
But, as Golang release 1.16+ version, the exec command go:generate go run github.com/google/wire/cmd/wire is incompatible. Mayby got the following error:
../../go/pkg/mod/github.com/google/[email protected]/cmd/wire/main.go:34:2: missing go.sum entry for module providing package github.com/google/subcommands (imported by github.com/google/wire/cmd/wire); to add:
go get github.com/google/wire/cmd/[email protected]
../../go/pkg/mod/github.com/google/[email protected]/internal/wire/copyast.go:21:2: missing go.sum entry for module providing package golang.org/x/tools/go/ast/astutil (imported by github.com/google/wire/internal/wire); to add:
go get github.com/google/wire/internal/[email protected]
../../go/pkg/mod/github.com/google/[email protected]/internal/wire/parse.go:30:2: missing go.sum entry for module providing package golang.org/x/tools/go/packages (imported by github.com/google/wire/internal/wire); to add:
go get github.com/google/wire/internal/[email protected]
../../go/pkg/mod/github.com/google/[email protected]/internal/wire/analyze.go:26:2: missing go.sum entry for module providing package golang.org/x/tools/go/types/typeutil (imported by github.com/google/wire/cmd/wire); to add:
go get github.com/google/wire/cmd/[email protected]
Describe the solution you'd like
This feature added by #268, maybe we need something for update.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, wire generate wire_gen file with following codes,
But, as Golang release
1.16+
version, the exec command go:generate go run github.com/google/wire/cmd/wire is incompatible. Mayby got the following error:Describe the solution you'd like
This feature added by #268, maybe we need something for update.
The text was updated successfully, but these errors were encountered: