mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
Now that we require go1.18, we can use a builtin type alias for
"interface{}": "any". I've updated all code except lib, which can be
imported by external modules. That is currently pinned at go1.16.
Additionally I had to rerun generate since rewriting generated go code
will fail CI.
find -name '*.go' | xargs gofmt -s -r 'interface{} -> any' -w
git checkout lib
go generate ./...
Test Plan: CI will exercise that the code still compiles. Otherwise this
is a noop.
|
||
|---|---|---|
| .. | ||
| batch | ||
| config | ||
| extensions | ||
| extsvc | ||
| lsif | ||
| orgs | ||
| repos | ||
| users | ||
| api.md | ||
| doc.go | ||
| index.md | ||
| login.md | ||
| search.md | ||
| serve-git.md | ||
| validate.md | ||
| version.md | ||