sourcegraph/lib
Robert Lin d75a3733d4
lib/errors: add interfaces for typed errors (#39256)
Introducing custom error types can be tricky - I realized there's no code-level assertions or docs on Is and As implementations, so this PR introduces some interfaces to guide implementers. We write them ourselves because the standard library does not provide them, and it allows us to include docstrings better.
2022-07-25 19:59:14 -04:00
..
batches batches: Display reattach changeset (#37564) 2022-07-11 13:24:52 -06:00
codeintel Use api.RepoName and reposource.PackageName type aliases (#38730) 2022-07-14 05:47:30 +00:00
errors lib/errors: add interfaces for typed errors (#39256) 2022-07-25 19:59:14 -04:00
gitservice requestclient: propagate request client IP, add gitserver access logger (#38798) 2022-07-15 13:32:31 +02:00
group lib/group: Add README (#39350) 2022-07-25 14:05:48 +00:00
output lib/output: fix emoji line without style (#38323) 2022-07-06 14:20:34 -07:00
process lib/process: always pipe _exactly_ what the command outputs (#36574) 2022-06-03 15:13:27 -07:00
go.mod deps: upgrade to github.com/muesli/termenv@v0.12.0 (#38765) 2022-07-13 19:26:57 +00:00
go.sum deps: upgrade to github.com/muesli/termenv@v0.12.0 (#38765) 2022-07-13 19:26:57 +00: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.