mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-27 09:39:15 +08:00
wip
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
package file
|
||||
|
||||
type Location struct {
|
||||
Line int // The 1-based line of the location.
|
||||
Column int // The 0-based column number of the location.
|
||||
}
|
||||
|
||||
func (l Location) Empty() bool {
|
||||
return l.Column == 0 && l.Line == 0
|
||||
}
|
||||
Reference in New Issue
Block a user