| OLD | NEW |
| 1 // Copyright 2015 The LUCI Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package main | 5 package cli |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "bufio" | 8 "bufio" |
| 9 "encoding/json" | 9 "encoding/json" |
| 10 "io" | 10 "io" |
| 11 "os" | 11 "os" |
| 12 | 12 |
| 13 "github.com/luci/luci-go/common/clock/clockflag" | 13 "github.com/luci/luci-go/common/clock/clockflag" |
| 14 log "github.com/luci/luci-go/common/logging" | 14 log "github.com/luci/luci-go/common/logging" |
| 15 "github.com/luci/luci-go/logdog/api/logpb" | 15 "github.com/luci/luci-go/logdog/api/logpb" |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 } | 257 } |
| 258 | 258 |
| 259 func (p *jsonQueryOutput) end() error { | 259 func (p *jsonQueryOutput) end() error { |
| 260 if err := p.ensureStart(); err != nil { | 260 if err := p.ensureStart(); err != nil { |
| 261 return err | 261 return err |
| 262 } | 262 } |
| 263 | 263 |
| 264 _, err := p.WriteRune(']') | 264 _, err := p.WriteRune(']') |
| 265 return err | 265 return err |
| 266 } | 266 } |
| OLD | NEW |