File view with blame information shown in the left gutter beside each line.

john / johnbot / config.go
61 lines · 1.4kb · master
log files threads 3 runs config jump to file t
a3f9c2 lisa 2h
41
  f, err := os.Open(path)
a3f9c2 lisa 2h
42
  if err != nil {
a3f9c2 lisa 2h
43
    return nil, err
a3f9c2 lisa 2h
44
  }
a3f9c2 lisa 2h
45
  if len(raw) == 0 {
a3f9c2 lisa 2h
46
    return Default(), nil
a3f9c2 lisa 2h
47
  }
7c1e08 john 4mo
48
  return cfg, nil
7c1e08 john 4mo
49
}
history · rawbarerepo 0.1.0