mirror of
https://github.com/prometheus/prometheus.git
synced 2025-09-21 05:41:01 +02:00
Add a note about PositionRange values
Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
This commit is contained in:
parent
2c0de4e7c2
commit
7b308dc7fe
@ -23,8 +23,8 @@ type Pos int
|
||||
|
||||
// PositionRange describes a position in the input string of the parser.
|
||||
type PositionRange struct {
|
||||
Start Pos
|
||||
End Pos
|
||||
Start Pos // Start of the range, zero-indexed.
|
||||
End Pos // End of the range, zero-indexed.
|
||||
}
|
||||
|
||||
// StartPosInput uses the query string to convert the PositionRange into a
|
||||
|
Loading…
x
Reference in New Issue
Block a user