Package Details: goimports-git 1:r1875.95963e0-1

Git Clone URL: https://aur.archlinux.org/goimports-git.git (read-only, click to copy)
Package Base: goimports-git
Description: Tool to fix (add, remove) your Go imports automatically.
Upstream URL: https://github.com/bradfitz/goimports
Keywords: golang
Licenses: MIT
Provides: goimports
Submitter: wenLiangcan
Maintainer: wenLiangcan
Last Packager: wenLiangcan
Votes: 4
Popularity: 0.000000
First Submitted: 2014-01-15 07:52
Last Updated: 2016-06-11 08:07

Required by (1)

Sources (0)

Latest Comments

evybongers commented on 2021-04-01 08:27

The package doesn't build anymore. ==> Starting pkgver()... go get: -fix flag is a no-op when using modules go: downloading golang.org/x/tools v0.1.0 go: downloading golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 go: downloading golang.org/x/mod v0.3.0 go: downloading golang.org/x/mod v0.4.2 go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 go: downloading golang.org/x/sys v0.0.0-20210331175145-43e1dd70ce54 <DIR>/goimports-git/PKGBUILD: line 18: cd: src/golang.org/x/tools/cmd/goimports: No such file or directory ==> ERROR: A failure occurred in pkgver(). Aborting...

Upstream has moved to https://pkg.go.dev/golang.org/x/tools/cmd/goimports.

troyengel commented on 2016-11-21 18:12

The upstream URL needs updated to match the source: https://godoc.org/golang.org/x/tools/cmd/goimports

wenLiangcan commented on 2016-06-11 08:08

Updated, thanks @johann

johann commented on 2016-06-10 10:48

build fails with:
==> Starting package()...
install: cannot stat 'bin/goimports': No such file or directory
if the GOBIN env is set by the user
the go get command should be:
GOBIN=${srcdir}/bin GOPATH=${srcdir} go get -fix -u ${_src}

drdevil44 commented on 2015-05-04 21:30

imports golang.org/x/tools/astutil: cannot find package "golang.org/x/tools/astutil" in any of: