sourcegraph/lib
Jean-Hadrien Chabran dd6a30389b
bzl: convert go generate + stringer to bazel (#54619)
Replaces an explicit `go:generate` call to `stringer` by its Bazel
counterpart.

This is a part of the effort to remove all `go:generate` statements and
to have them handled by Bazel. See tracked issue for more details.

## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

CI
2023-07-07 17:31:46 +02:00
..
api ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
batches [chore] Refactored to use common pointers helper functions (#53441) 2023-06-14 16:48:44 +02:00
cliutil bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
codeintel bzl: convert go generate + stringer to bazel (#54619) 2023-07-07 17:31:46 +02:00
errors migrator: exit 0 if autoupgrade set on up (#53175) 2023-06-13 20:51:09 +00:00
gitservice ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
iterator ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
output lib/output: Remove Style interface (#54163) 2023-06-26 14:32:23 +00:00
pointers [chore] Refactored to use common pointers helper functions (#53441) 2023-06-14 16:48:44 +02:00
process ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
servicecatalog ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
go.mod go mod: Update scip (#54304) 2023-06-28 13:06:11 -05:00
go.sum go mod: Update scip (#54304) 2023-06-28 13:06:11 -05:00
README.md lib: Introduce non-enterprise lib directory (#18992) 2021-03-10 19:41:33 -06:00
tools.go build with go 1.17 (#24566) 2021-09-03 14:46:55 +00:00

Sourcegraph lib module

This directory is the root of a separate go module from the primary module rooted at sourcegraph/sourcegraph. This module exists to hold code that we want to reuse outside of the sourcegraph/sourcegraph repo.

Code in this module should not import from sourcegraph/sourcegraph or from other Sourcegraph repositories to avoid complicated dependency relationships. Instead consider moving code from elsewhere into this module.