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

Side by Side Diff: common/api/dm/service/v1/graph_data_clone.go

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Fix comments Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package dm
6
7 // Clone returns a deep copy of this Quest_Desc.
dnj (Google) 2016/06/16 16:57:22 nit: mention that this only works on Normalized de
iannucci 2016/06/18 01:35:41 Switched to proto.Clone anyway :)
8 func (d *Quest_Desc) Clone() *Quest_Desc {
9 ret := *d
10 meta := *ret.Meta
11 retry := *meta.Retry
12
13 meta.Retry = &retry
14 ret.Meta = &meta
15 return &ret
16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698