From c6742beb5fb414970de114fd011108c217d0f951 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Tue, 6 May 2025 16:35:27 +0200 Subject: i18nerr: Properly fix gotext dependencies We did the dummy import in i18nerr, but that copies gotext's flags and adds them to the eduvpn-cli example CLI. Apparently if we specify @latest in the go run part for go generate, already all i18n deps are properly fetched. --- i18nerr/i18nerr.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'i18nerr') diff --git a/i18nerr/i18nerr.go b/i18nerr/i18nerr.go index f16cf08..8254dd4 100644 --- a/i18nerr/i18nerr.go +++ b/i18nerr/i18nerr.go @@ -12,10 +12,6 @@ import ( "golang.org/x/text/language" "golang.org/x/text/message" - - // this blank/dummy import is here to make `go mod tidy` work - // as `go mod tidy` otherwise removes this import that is needed for `go generate` - _ "golang.org/x/text/message/pipeline" ) var ( -- cgit v1.2.3