-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bindings/go: Add common APIs for Range and Position (#248)
- Adds error-checking to NewRange and returns an error for malformed ranges - Adds NewRangeUnchecked to handle construction without error-checking - Adds a bunch of helper functions for Range and Position for usage in Sourcegraph Co-authored-by: Christoph Hegemann <[email protected]>
- Loading branch information
1 parent
b7127de
commit 4178e59
Showing
11 changed files
with
465 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.