diff --git a/examples/blog/cmd/blog/wire.go b/examples/blog/cmd/blog/wire.go index 2d3db8841..30e5ebc43 100644 --- a/examples/blog/cmd/blog/wire.go +++ b/examples/blog/cmd/blog/wire.go @@ -1,3 +1,4 @@ +//go:build wireinject // +build wireinject // The build tag makes sure the stub is not built in the final build. diff --git a/examples/blog/cmd/blog/wire_gen.go b/examples/blog/cmd/blog/wire_gen.go index 118c12960..844b7c8cb 100644 --- a/examples/blog/cmd/blog/wire_gen.go +++ b/examples/blog/cmd/blog/wire_gen.go @@ -1,7 +1,8 @@ // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire -//+build !wireinject +//go:build !wireinject +// +build !wireinject package main diff --git a/examples/i18n/cmd/i18n/wire.go b/examples/i18n/cmd/i18n/wire.go index 7713a0fa5..a06ff9578 100644 --- a/examples/i18n/cmd/i18n/wire.go +++ b/examples/i18n/cmd/i18n/wire.go @@ -1,3 +1,4 @@ +//go:build wireinject // +build wireinject // The build tag makes sure the stub is not built in the final build. diff --git a/examples/i18n/cmd/i18n/wire_gen.go b/examples/i18n/cmd/i18n/wire_gen.go index 7e635e662..4983e47eb 100644 --- a/examples/i18n/cmd/i18n/wire_gen.go +++ b/examples/i18n/cmd/i18n/wire_gen.go @@ -1,7 +1,8 @@ // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire -//+build !wireinject +//go:build !wireinject +// +build !wireinject package main