mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 19:46:32 +00:00
11 lines
171 B
Go
11 lines
171 B
Go
|
package syntax
|
||
|
|
||
|
type Position struct {
|
||
|
Begin uint16
|
||
|
End uint16
|
||
|
}
|
||
|
|
||
|
func combinePos(begin, end Position) Position {
|
||
|
return Position{Begin: begin.Begin, End: end.End}
|
||
|
}
|