From 8c9e70b47bf48adb8a47b207308428155da4d12f Mon Sep 17 00:00:00 2001 From: songzhibin97 <49082129+songzhibin97@users.noreply.github.com> Date: Wed, 8 Dec 2021 00:17:24 +0800 Subject: [PATCH] style: format (#1667) * style: format * fix:ci --- examples/blog/cmd/blog/wire.go | 1 + examples/blog/cmd/blog/wire_gen.go | 3 ++- examples/i18n/cmd/i18n/wire.go | 1 + examples/i18n/cmd/i18n/wire_gen.go | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) 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