event.go 267 Bytes
Newer Older
1
package main
Jordan Sissel's avatar
Jordan Sissel committed
2

3 4
import "os"

Jordan Sissel's avatar
Jordan Sissel committed
5 6
type FileEvent struct {
  Source *string `json:"source,omitempty"`
7
  Offset int64 `json:"offset,omitempty"`
8
  Line uint64 `json:"line,omitempty"`
Jordan Sissel's avatar
Jordan Sissel committed
9
  Text *string `json:"text,omitempty"`
10
  Fields *map[string]string
11 12

  fileinfo *os.FileInfo
Jordan Sissel's avatar
Jordan Sissel committed
13
}