Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: logdog/client/cli/subcommandQuery.go

Issue 2372703005: LogDog: Split CLI tool into package and main. (Closed)
Patch Set: Fix comment. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « logdog/client/cli/subcommandList.go ('k') | logdog/client/cli/trinaryFlag.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « logdog/client/cli/subcommandList.go ('k') | logdog/client/cli/trinaryFlag.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698