mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-02 14:46:31 +00:00
c28f7cb29f
Initial part of #435
10 lines
171 B
Go
10 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}
|
|
}
|