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

Side by Side Diff: milo/api/resp/build.go

Issue 2949783002: [milo] appengine/* -> * (Closed)
Patch Set: rebase Created 3 years, 6 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 | « no previous file | milo/api/resp/builder.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 //go:generate stringer -type=Verbosity 5 //go:generate stringer -type=Verbosity
6 //go:generate stringer -type=ComponentType 6 //go:generate stringer -type=ComponentType
7 7
8 package resp 8 package resp
9 9
10 import ( 10 import (
11 "encoding/json" 11 "encoding/json"
12 "time" 12 "time"
13 13
14 » "github.com/luci/luci-go/milo/appengine/common/model" 14 » "github.com/luci/luci-go/milo/common/model"
15 ) 15 )
16 16
17 // MiloBuild denotes a full renderable Milo build page. 17 // MiloBuild denotes a full renderable Milo build page.
18 type MiloBuild struct { 18 type MiloBuild struct {
19 // Summary is a top level summary of the page. 19 // Summary is a top level summary of the page.
20 Summary BuildComponent 20 Summary BuildComponent
21 21
22 // SourceStamp gives information about how the build came about. 22 // SourceStamp gives information about how the build came about.
23 SourceStamp *SourceStamp 23 SourceStamp *SourceStamp
24 24
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 Alt string `json:",omitempty"` 250 Alt string `json:",omitempty"`
251 251
252 // Alias, if true, means that this link is an [alias link]. 252 // Alias, if true, means that this link is an [alias link].
253 Alias bool `json:",omitempty"` 253 Alias bool `json:",omitempty"`
254 } 254 }
255 255
256 // NewLink does just about what you'd expect. 256 // NewLink does just about what you'd expect.
257 func NewLink(label, url string) *Link { 257 func NewLink(label, url string) *Link {
258 return &Link{Link: model.Link{Label: label, URL: url}} 258 return &Link{Link: model.Link{Label: label, URL: url}}
259 } 259 }
OLDNEW
« no previous file with comments | « no previous file | milo/api/resp/builder.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698